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

Fix problems compiling on power8 due to char defaulting to unsigned #320

Merged
merged 1 commit into from
Oct 10, 2016

Conversation

ghalliday
Copy link
Contributor

Signed-off-by: Gavin Halliday [email protected]

@ghalliday
Copy link
Contributor Author

On power8 (or any system that defaults char to unsigned) you get the following errors:

.../src/uuids.cpp:141:3: error: narrowing conversion of ‘-1’ from ‘int’ to ‘const char’ inside { } [-Werror=narrowing]

and

.../src/uuids.cpp:151:30: error: comparison is always false due to limited range of data type [-Werror=type-limits]

@mpenick
Copy link
Contributor

mpenick commented Oct 10, 2016

Thanks! Good simple fix.

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

Successfully merging this pull request may close these issues.

2 participants