diff options
author | Tor Lillqvist <tml@novell.com> | 2008-08-04 23:21:36 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2008-08-04 23:21:36 +0000 |
commit | d6ab77ea700b144e075c61435c34cb865e384e86 (patch) | |
tree | ab8a233100345d8282f9588b769f982ce3c4ba1a /gdk/win32/gdkcursor-win32.c | |
parent | a860ec7d7b9b5410b41a67b6ebbb3e61a3a04d10 (diff) | |
download | gtk+-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/gdkcursor-win32.c')
-rw-r--r-- | gdk/win32/gdkcursor-win32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdk/win32/gdkcursor-win32.c b/gdk/win32/gdkcursor-win32.c index ca87de4213..45a664b65e 100644 --- a/gdk/win32/gdkcursor-win32.c +++ b/gdk/win32/gdkcursor-win32.c @@ -429,7 +429,8 @@ gdk_win32_icon_to_pixbuf_libgtk_only (HICON hicon) RGBQUAD colors[2]; } bmi; HDC hdc; - gchar *pixels, *bits, buf[32]; + guchar *pixels, *bits; + gchar buf[32]; gint rowstride, x, y, w, h; if (!GDI_CALL (GetIconInfo, (hicon, &ii))) |