Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Numeración de bits en el bitmap #8

Closed
Dkazarian opened this issue Jun 1, 2012 · 0 comments
Closed

Numeración de bits en el bitmap #8

Dkazarian opened this issue Jun 1, 2012 · 0 comments
Labels

Comments

@Dkazarian
Copy link
Contributor

Los bits de los bytes se deben numerar para el otro lado:

cambiar

define BIT_IN_CHAR(bit) (0x01 << (CHAR_BIT - 1 - ((bit) % CHAR_BIT)))

Por

define BIT_IN_CHAR(bit) (0x80 >> (CHAR_BIT - 1 - ((bit) % CHAR_BIT)))

Dkazarian added a commit that referenced this issue Jun 1, 2012
gastonprieto added a commit that referenced this issue Jun 1, 2012
Fixed issue #8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants