2006-01-11
GetWindowLongPtr and friends.
As mentioned in this bugslayer post, GetWindowLongPtr and SetWindowLongPtr are defined incorrectly when doing 32-bit compiles, meaning that my code is destined to create warnings until a fix is released. #pragma warnings do not count as fixes, sorry.
The warning (or error, if you're trying to build with treat warnings as errors) you get is:
warning C4244: 'argument' : conversion from 'LONG_PTR' to 'LONG', possible loss of data