(G_MININT64): Cast to gint64.

This commit is contained in:
Stepan Kasal 2005-08-24 14:14:02 +00:00
parent 4adde8fdca
commit d923d1f03f
5 changed files with 25 additions and 1 deletions

View 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.

View 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.

View 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.

View 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.

View 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)