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
Under MSVC, using additional SDL checks raises an unary minus error.
This error is raised as applying -(unsigned int) results into an (unsigned int) instead of an (int). This is expected behaviour according to MSVC Docs
lbp.hpp problematic line
I would like to confirm why the -v & v operation is done there?
-v & v
This could simply be resolved by casting to int: -(int)v & v if it doesn't alter the code intended behaviour.
-(int)v & v
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Under MSVC, using additional SDL checks raises an unary minus error.
This error is raised as applying -(unsigned int) results into an (unsigned int) instead of an (int).
This is expected behaviour according to MSVC Docs
lbp.hpp problematic line
I would like to confirm why the
-v & v
operation is done there?This could simply be resolved by casting to int:
-(int)v & v
if it doesn't alter the code intended behaviour.The text was updated successfully, but these errors were encountered: