summaryrefslogtreecommitdiff
path: root/gdk/gdk.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@gtk.org>1998-05-13 00:24:57 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-05-13 00:24:57 +0000
commit43dfe74c56563d40451fe17c7e4c1bee78987829 (patch)
tree5a0e0dd02fa430b6b614b7bb3a358292f9ca8efc /gdk/gdk.c
parenteae7b32f85826a42b2c22f57744d88c2f7c5abfd (diff)
downloadgtk+-43dfe74c56563d40451fe17c7e4c1bee78987829.tar.gz
Fixed up a stat() that Sopwith missed when changing stat => lstat.
Tue May 12 19:37:55 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtkrc.c (gtk_rc_parse_file): Fixed up a stat() that Sopwith missed when changing stat => lstat. Tue May 12 19:19:29 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtkinputdialog.c gtk/gtkgamma.c gtk/gtkrc.c gtk/gtkcolorsel.c gtk/gtkclist.c gtk/testgtk.c: Use GPOINTER_TO_INT/GINT_TO_POINTER macros where appropriate. * gdk/gdk.c: Print sizeof() results as g_print("%ld", (glong)sizeof(foo)), to deal with sizeof() being long on Alpha's. * gtk/testgtk.c: include <string.h> for strlen Tue May 12 19:22:58 1998 Owen Taylor <otaylor@gtk.org> * glib/glib.h: Added macros G[U]INT_TO_POINTER() and GPOINTER_TO_[U]INT for storing small integers integers inside pointers. * glib/testglib.c: Print sizeof() results as g_print("%ld", (glong)sizeof(foo)), to deal with size_t being long on Alpha's.
Diffstat (limited to 'gdk/gdk.c')
-rw-r--r--gdk/gdk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdk.c b/gdk/gdk.c
index 8b9768b2d5..c8b5772560 100644
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -4005,8 +4005,8 @@ gdk_dnd_check_types (GdkWindow *window,
if (realfmt != (sizeof(Atom) * 8))
{
- g_warning("XdeTypelist property had format of %d instead of the expected %d, on window %#lx\n",
- realfmt, sizeof(Atom) * 8, xevent->xclient.data.l[0]);
+ g_warning("XdeTypelist property had format of %d instead of the expected %ld, on window %#lx\n",
+ realfmt, (glong)sizeof(Atom) * 8, xevent->xclient.data.l[0]);
return 0;
}