msvcp90: Fix 64-bit compilation warnings
Alexandre Julliard
julliard at winehq.org
Wed Sep 1 04:56:40 CDT 2010
Piotr Caban <piotr at codeweavers.com> writes:
> @@ -596,7 +596,7 @@ DEFINE_THISCALL_WRAPPER(MSVCP_basic_string_char_erase, 12)
> basic_string_char* __thiscall MSVCP_basic_string_char_erase(
> basic_string_char *this, size_t pos, size_t len)
> {
> - TRACE("%p %d %d\n", this, pos, len);
> + TRACE("%p %d %d\n", this, (int)pos, (int)len);
You should be casting to long, otherwise you'll potentially truncate the
value.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list