Char-type is incorrectly sized #2907
Labels
docs
This change adds or pertains to documentation
system:windows
Affects only Windows
won't change
Indicates that work won't continue on an issue or pull request
Milestone
on windows, wint_t and wchar_t are declared unsigned short (Uint16)
http://msdn.microsoft.com/en-us/library/windows/desktop/aa367308(v=vs.85).aspx
and from
_mingw.h
:(somewhat amusingly, someone at microsoft apparently believes unsigned numbers can hold the value -1, as demonstrated by their documentation for this type. while not strictly wrong -- it can indeed hold the value 0xFFFF -- ok, yes it is wrong)
The text was updated successfully, but these errors were encountered: