12240e42f2
not cause a warning. The singular use of this, in libcroco, is safe.
20 lines
758 B
Plaintext
20 lines
758 B
Plaintext
$OpenBSD: patch-gettext-tools_gnulib-lib_glibconfig_in_h,v 1.1 2008/06/30 17:37:00 naddy Exp $
|
|
--- gettext-tools/gnulib-lib/glibconfig.in.h.orig Mon Jun 30 17:59:23 2008
|
|
+++ gettext-tools/gnulib-lib/glibconfig.in.h Mon Jun 30 18:00:56 2008
|
|
@@ -40,11 +40,11 @@ typedef uint32_t guint32;
|
|
typedef size_t gsize;
|
|
typedef ssize_t gssize;
|
|
|
|
-#define GPOINTER_TO_INT(p) ((gint) (p))
|
|
-#define GPOINTER_TO_UINT(p) ((guint) (p))
|
|
+#define GPOINTER_TO_INT(p) ((gint) (glong) (p))
|
|
+#define GPOINTER_TO_UINT(p) ((guint) (gulong) (p))
|
|
|
|
-#define GINT_TO_POINTER(i) ((gpointer) (i))
|
|
-#define GUINT_TO_POINTER(u) ((gpointer) (u))
|
|
+#define GINT_TO_POINTER(i) ((gpointer) (glong) (i))
|
|
+#define GUINT_TO_POINTER(u) ((gpointer) (gulong) (u))
|
|
|
|
#define g_memmove memmove
|
|
|