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 msvc warnings #38

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Fix msvc warnings #38

wants to merge 4 commits into from

Conversation

shawnw
Copy link
Contributor

@shawnw shawnw commented Apr 8, 2018

Apparently I need to test using /W3 not /W. Sigh.

Fixes some harmless but annoying warning C4244: 'return': conversion from 'unsigned long' to 'pcg_extras::bitcount_t', possible loss of data messages that showed up at that level in my intrinsics patch.

@imneme
Copy link
Owner

imneme commented May 27, 2019

Can you switch it over to bitcount_t(i) rather than static cast? It'd better mach the style of the existing code.

@merwaaan merwaaan mentioned this pull request Dec 13, 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

Successfully merging this pull request may close these issues.

2 participants