summaryrefslogtreecommitdiff
path: root/gdk/win32/gdkmain-win32.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2008-08-04 23:21:36 +0000
committerTor Lillqvist <tml@src.gnome.org>2008-08-04 23:21:36 +0000
commitd6ab77ea700b144e075c61435c34cb865e384e86 (patch)
treeab8a233100345d8282f9588b769f982ce3c4ba1a /gdk/win32/gdkmain-win32.c
parenta860ec7d7b9b5410b41a67b6ebbb3e61a3a04d10 (diff)
downloadgtk+-d6ab77ea700b144e075c61435c34cb865e384e86.tar.gz
Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
2008-08-05 Tor Lillqvist <tml@novell.com> Bug 544684 - Win64 issue, window handles are assumed to be 32-bit * gdk/win32/gdkcursor-win32.c * gdk/win32/xcursors.h: Change some gchar* to guchar* and vice versa to avoid gcc 4.4 signedness warnings. * gdk/win32/gdkevents-win32.c: Add some guchar and char pointer casts to get rid of gcc 4.4 signedness warnings. Print GdkAtom values in debugging output using the %p format. * gdk/win32/gdkkeys-win32.c * gdk/win32/gdkfont-win32.c * gdk/win32/gdkmain-win32.c: Add some casts to avoid gcc warnings. * gdk/win32/gdkwindow-win32.c: Use SetWindowLongPtr() instead of SetWindowLong(). * gdk/win32/gdkwin32id.c (gdk_handle_hash): Use all 64 bits of a HANDLE on Win64. svn path=/trunk/; revision=20994
Diffstat (limited to 'gdk/win32/gdkmain-win32.c')
-rw-r--r--gdk/win32/gdkmain-win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/win32/gdkmain-win32.c b/gdk/win32/gdkmain-win32.c
index 8999008d16..be02856cf8 100644
--- a/gdk/win32/gdkmain-win32.c
+++ b/gdk/win32/gdkmain-win32.c
@@ -368,7 +368,7 @@ _gdk_win32_print_dc (HDC hdc)
_gdk_win32_psstyle_to_string (extlogpen.elpPenStyle),
_gdk_win32_psendcap_to_string (extlogpen.elpPenStyle),
_gdk_win32_psjoin_to_string (extlogpen.elpPenStyle),
- extlogpen.elpWidth,
+ (int) extlogpen.elpWidth,
_gdk_win32_lbstyle_to_string (extlogpen.elpBrushStyle));
g_print ("rop2: %s textcolor=%06lx\n",
_gdk_win32_rop2_to_string (GetROP2 (hdc)),