+1998-06-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
+
+ * testglib.c (main): Use GINT_TO_POINTER casts to remove compiler
+ warnings.
+
+ * grel.c: #include <string.h>
+
Fri Jun 12 15:39:06 1998 Tim Janik <timj@gtk.org>
* glib.h (GScanner): cleanups of the structure fields (binary
+1998-06-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
+
+ * testglib.c (main): Use GINT_TO_POINTER casts to remove compiler
+ warnings.
+
+ * grel.c: #include <string.h>
+
Fri Jun 12 15:39:06 1998 Tim Janik <timj@gtk.org>
* glib.h (GScanner): cleanups of the structure fields (binary
+1998-06-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
+
+ * testglib.c (main): Use GINT_TO_POINTER casts to remove compiler
+ warnings.
+
+ * grel.c: #include <string.h>
+
Fri Jun 12 15:39:06 1998 Tim Janik <timj@gtk.org>
* glib.h (GScanner): cleanups of the structure fields (binary
+1998-06-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
+
+ * testglib.c (main): Use GINT_TO_POINTER casts to remove compiler
+ warnings.
+
+ * grel.c: #include <string.h>
+
Fri Jun 12 15:39:06 1998 Tim Janik <timj@gtk.org>
* glib.h (GScanner): cleanups of the structure fields (binary
+1998-06-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
+
+ * testglib.c (main): Use GINT_TO_POINTER casts to remove compiler
+ warnings.
+
+ * grel.c: #include <string.h>
+
Fri Jun 12 15:39:06 1998 Tim Janik <timj@gtk.org>
* glib.h (GScanner): cleanups of the structure fields (binary
+1998-06-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
+
+ * testglib.c (main): Use GINT_TO_POINTER casts to remove compiler
+ warnings.
+
+ * grel.c: #include <string.h>
+
Fri Jun 12 15:39:06 1998 Tim Janik <timj@gtk.org>
* glib.h (GScanner): cleanups of the structure fields (binary
+1998-06-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
+
+ * testglib.c (main): Use GINT_TO_POINTER casts to remove compiler
+ warnings.
+
+ * grel.c: #include <string.h>
+
Fri Jun 12 15:39:06 1998 Tim Janik <timj@gtk.org>
* glib.h (GScanner): cleanups of the structure fields (binary
+1998-06-18 Federico Mena Quintero <federico@nuclecu.unam.mx>
+
+ * testglib.c (main): Use GINT_TO_POINTER casts to remove compiler
+ warnings.
+
+ * grel.c: #include <string.h>
+
Fri Jun 12 15:39:06 1998 Tim Janik <timj@gtk.org>
* glib.h (GScanner): cleanups of the structure fields (binary
*/
#include "glib.h"
#include <stdarg.h>
+#include <string.h>
typedef struct _GRealRelation GRealRelation;
typedef struct _GRealTuples GRealTuples;
*/
#include "glib.h"
#include <stdarg.h>
+#include <string.h>
typedef struct _GRealRelation GRealRelation;
typedef struct _GRealTuples GRealTuples;
gparray = g_ptr_array_new ();
for (i = 0; i < 10000; i++)
- g_ptr_array_add (gparray, (void*)i);
+ g_ptr_array_add (gparray, GINT_TO_POINTER (i));
for (i = 0; i < 10000; i++)
- if (g_ptr_array_index (gparray, i) != (void*)i)
- g_print ("array fails: %p ( %p )\n", g_ptr_array_index (gparray, i), (void*)i);
+ if (g_ptr_array_index (gparray, i) != GINT_TO_POINTER (i))
+ g_print ("array fails: %p ( %p )\n", g_ptr_array_index (gparray, i), GINT_TO_POINTER (i));
g_ptr_array_free (gparray, TRUE);
gparray = g_ptr_array_new ();
for (i = 0; i < 10000; i++)
- g_ptr_array_add (gparray, (void*)i);
+ g_ptr_array_add (gparray, GINT_TO_POINTER (i));
for (i = 0; i < 10000; i++)
- if (g_ptr_array_index (gparray, i) != (void*)i)
- g_print ("array fails: %p ( %p )\n", g_ptr_array_index (gparray, i), (void*)i);
+ if (g_ptr_array_index (gparray, i) != GINT_TO_POINTER (i))
+ g_print ("array fails: %p ( %p )\n", g_ptr_array_index (gparray, i), GINT_TO_POINTER (i));
g_ptr_array_free (gparray, TRUE);