summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStepan Kasal <skasal@src.gnome.org>2005-08-24 14:14:02 +0000
committerStepan Kasal <skasal@src.gnome.org>2005-08-24 14:14:02 +0000
commitd923d1f03f48fdc22a62362b2f7a4a6ddc4aec1e (patch)
tree5c67acfb67b6e4b6d02d4dfbaa18320b68fc212a
parent4adde8fdca63b1825ddf19adcd42d3f70e433e98 (diff)
(G_MININT64): Cast to gint64.
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.pre-2-106
-rw-r--r--ChangeLog.pre-2-126
-rw-r--r--ChangeLog.pre-2-86
-rw-r--r--glib/gtypes.h2
5 files changed, 25 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f0aaf438..f569b8872 100644
--- 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.
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 3f0aaf438..f569b8872 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -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.
diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12
index 3f0aaf438..f569b8872 100644
--- a/ChangeLog.pre-2-12
+++ b/ChangeLog.pre-2-12
@@ -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.
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 3f0aaf438..f569b8872 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -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.
diff --git a/glib/gtypes.h b/glib/gtypes.h
index 4c132c8dd..21b55e7c9 100644
--- a/glib/gtypes.h
+++ b/glib/gtypes.h
@@ -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)