We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I just tried to compile tinycompress with the new C compiler clang-14. It said:
cplay.c:153:34: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses]
Source code is
if ((buf[0] != 0xff) || (buf[1] & 0xf0 != 0xf0))
Suggest new code:
if ((buf[0] != 0xff) || ((buf[1] & 0xf0) != 0xf0))
The text was updated successfully, but these errors were encountered:
@dcb314 can you send a patch for this?
Sorry, something went wrong.
right, as @dbaluta said, a patch is welcome
Sorry, no. I just find them, I don't fix them.
No branches or pull requests
I just tried to compile tinycompress with the new C compiler clang-14.
It said:
cplay.c:153:34: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses]
Source code is
if ((buf[0] != 0xff) || (buf[1] & 0xf0 != 0xf0))
Suggest new code:
if ((buf[0] != 0xff) || ((buf[1] & 0xf0) != 0xf0))
The text was updated successfully, but these errors were encountered: