(G_MININT64): Cast to gint64.
authorStepan Kasal <skasal@src.gnome.org>
Wed, 24 Aug 2005 14:14:02 +0000 (14:14 +0000)
committerStepan Kasal <skasal@src.gnome.org>
Wed, 24 Aug 2005 14:14:02 +0000 (14:14 +0000)
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-8
glib/gtypes.h

index 3f0aaf4..f569b88 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-08-24  Stepan Kasal  <kasal@ucw.cz>
+
+       * glib/gtypes.h (G_MININT64): Cast the constant to gint64; it is
+       guint64 otherwise and that can produce warnings about comparison
+       between signed and unsigned.
+
 2005-08-23  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gutils.c: Fix the crt_externs.h include.
index 3f0aaf4..f569b88 100644 (file)
@@ -1,3 +1,9 @@
+2005-08-24  Stepan Kasal  <kasal@ucw.cz>
+
+       * glib/gtypes.h (G_MININT64): Cast the constant to gint64; it is
+       guint64 otherwise and that can produce warnings about comparison
+       between signed and unsigned.
+
 2005-08-23  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gutils.c: Fix the crt_externs.h include.
index 3f0aaf4..f569b88 100644 (file)
@@ -1,3 +1,9 @@
+2005-08-24  Stepan Kasal  <kasal@ucw.cz>
+
+       * glib/gtypes.h (G_MININT64): Cast the constant to gint64; it is
+       guint64 otherwise and that can produce warnings about comparison
+       between signed and unsigned.
+
 2005-08-23  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gutils.c: Fix the crt_externs.h include.
index 3f0aaf4..f569b88 100644 (file)
@@ -1,3 +1,9 @@
+2005-08-24  Stepan Kasal  <kasal@ucw.cz>
+
+       * glib/gtypes.h (G_MININT64): Cast the constant to gint64; it is
+       guint64 otherwise and that can produce warnings about comparison
+       between signed and unsigned.
+
 2005-08-23  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gutils.c: Fix the crt_externs.h include.
index 4c132c8..21b55e7 100644 (file)
@@ -65,7 +65,7 @@ typedef double  gdouble;
 #define G_MAXINT32     ((gint32)  0x7fffffff)
 #define G_MAXUINT32    ((guint32) 0xffffffff)
 
-#define G_MININT64     G_GINT64_CONSTANT(0x8000000000000000)
+#define G_MININT64     ((gint64) G_GINT64_CONSTANT(0x8000000000000000))
 #define G_MAXINT64     G_GINT64_CONSTANT(0x7fffffffffffffff)
 #define G_MAXUINT64    G_GINT64_CONSTANT(0xffffffffffffffffU)