warning C4267
Hey,
We need to look at a fix for the masses of warning given over all core when building in x64.
warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
warning C4267: 'return' : conversion from 'size_t' to 'uint8', possible loss of data
Relevent microsoft article on the issue: [url]http://msdn.microsoft.com/en-us/library/6kck0s93.aspx[/url]
[QUOTE][COLOR=#2A2A2A][FONT=Segoe UI]When compiling with /Wp64, or when compiling on a 64-bit operating system, [I]type[/I] is 32 bits but size_t is 64 bits when compiling for 64-bit targets.[/FONT][/COLOR]
[COLOR=#2A2A2A][FONT=Segoe UI]To fix this warning, use size_tinstead of a [I]type[/I].
[/FONT][/COLOR][/QUOTE]
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now