+2000-03-22 Elliot Lee <sopwith@redhat.com>
+ * gmem.c (g_mem_chunk_area_compare): Fix 64-bitness bug in comparing two pointers more
+ than 4G apart.
+
2000-03-22 Tor Lillqvist <tml@iki.fi>
* gutils.c: Move Win32-only includes after inclusion of glib.h, so
+2000-03-22 Elliot Lee <sopwith@redhat.com>
+ * gmem.c (g_mem_chunk_area_compare): Fix 64-bitness bug in comparing two pointers more
+ than 4G apart.
+
2000-03-22 Tor Lillqvist <tml@iki.fi>
* gutils.c: Move Win32-only includes after inclusion of glib.h, so
+2000-03-22 Elliot Lee <sopwith@redhat.com>
+ * gmem.c (g_mem_chunk_area_compare): Fix 64-bitness bug in comparing two pointers more
+ than 4G apart.
+
2000-03-22 Tor Lillqvist <tml@iki.fi>
* gutils.c: Move Win32-only includes after inclusion of glib.h, so
+2000-03-22 Elliot Lee <sopwith@redhat.com>
+ * gmem.c (g_mem_chunk_area_compare): Fix 64-bitness bug in comparing two pointers more
+ than 4G apart.
+
2000-03-22 Tor Lillqvist <tml@iki.fi>
* gutils.c: Move Win32-only includes after inclusion of glib.h, so
+2000-03-22 Elliot Lee <sopwith@redhat.com>
+ * gmem.c (g_mem_chunk_area_compare): Fix 64-bitness bug in comparing two pointers more
+ than 4G apart.
+
2000-03-22 Tor Lillqvist <tml@iki.fi>
* gutils.c: Move Win32-only includes after inclusion of glib.h, so
+2000-03-22 Elliot Lee <sopwith@redhat.com>
+ * gmem.c (g_mem_chunk_area_compare): Fix 64-bitness bug in comparing two pointers more
+ than 4G apart.
+
2000-03-22 Tor Lillqvist <tml@iki.fi>
* gutils.c: Move Win32-only includes after inclusion of glib.h, so
+2000-03-22 Elliot Lee <sopwith@redhat.com>
+ * gmem.c (g_mem_chunk_area_compare): Fix 64-bitness bug in comparing two pointers more
+ than 4G apart.
+
2000-03-22 Tor Lillqvist <tml@iki.fi>
* gutils.c: Move Win32-only includes after inclusion of glib.h, so
+2000-03-22 Elliot Lee <sopwith@redhat.com>
+ * gmem.c (g_mem_chunk_area_compare): Fix 64-bitness bug in comparing two pointers more
+ than 4G apart.
+
2000-03-22 Tor Lillqvist <tml@iki.fi>
* gutils.c: Move Win32-only includes after inclusion of glib.h, so
g_mem_chunk_area_compare (GMemArea *a,
GMemArea *b)
{
- return (a->mem - b->mem);
+ if (a->mem > b->mem)
+ return 1;
+ else if (a->mem < b->mem)
+ return -1;
+ return 0;
}
static gint
g_mem_chunk_area_compare (GMemArea *a,
GMemArea *b)
{
- return (a->mem - b->mem);
+ if (a->mem > b->mem)
+ return 1;
+ else if (a->mem < b->mem)
+ return -1;
+ return 0;
}
static gint