diff --git a/ChangeLog b/ChangeLog index 3f0aaf438..f569b8872 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-08-24 Stepan Kasal + + * 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 * 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 + + * 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 * 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 + + * 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 * 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 + + * 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 * 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)