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

bufferLength test always evaluates to true, but code works #2

Open
johove opened this issue May 16, 2019 · 0 comments
Open

bufferLength test always evaluates to true, but code works #2

johove opened this issue May 16, 2019 · 0 comments
Assignees

Comments

@johove
Copy link
Owner

johove commented May 16, 2019

if (c1 ^ 0xF0 == 0xa0) { // BUG, but works: This expresion always evaluates to true, should be ((c1 & 0xF0) == 0xa0). Not tested

@johove johove self-assigned this May 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant