Alexandre Julliard : gdi32/tests: Fix a pointer casting warning on 64-bit.
Alexandre Julliard
julliard at winehq.org
Sun Jan 4 09:08:55 CST 2009
Module: wine
Branch: master
Commit: 428de06982a59edb648904f6e2740ef00971732d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=428de06982a59edb648904f6e2740ef00971732d
Author: Alexandre Julliard <julliard at winehq.org>
Date: Sat Jan 3 20:13:29 2009 +0100
gdi32/tests: Fix a pointer casting warning on 64-bit.
---
dlls/gdi32/tests/font.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/gdi32/tests/font.c b/dlls/gdi32/tests/font.c
index f2fde19..0624de0 100644
--- a/dlls/gdi32/tests/font.c
+++ b/dlls/gdi32/tests/font.c
@@ -1435,7 +1435,7 @@ static BOOL get_glyph_indices(INT charset, UINT code_page, WORD *idx, UINT count
ok(!(fs.fsCsb[0] & (1 << 31)), "symbol encoding should NOT be available\n");
}
- if (!TranslateCharsetInfo((DWORD *)cs, &csi, TCI_SRCCHARSET))
+ if (!TranslateCharsetInfo((DWORD *)(INT_PTR)cs, &csi, TCI_SRCCHARSET))
{
trace("Can't find codepage for charset %d\n", cs);
ReleaseDC(0, hdc);
More information about the wine-cvs
mailing list