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.
This commit is contained in:
@ -823,6 +823,6 @@ g_parse_debug_string (const gchar *string,
|
||||
guint
|
||||
g_direct_hash(gpointer key)
|
||||
{
|
||||
return (guint) key;
|
||||
return GPOINTER_TO_UINT (key);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user