mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
gmem.c (g_mem_chunk_area_compare): Fix 64-bitness bug in comparing two
gmem.c (g_mem_chunk_area_compare): Fix 64-bitness bug in comparing two pointers more than 4G apart.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
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
|
||||
|
@@ -1,3 +1,7 @@
|
||||
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
|
||||
|
@@ -1,3 +1,7 @@
|
||||
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
|
||||
|
@@ -1,3 +1,7 @@
|
||||
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
|
||||
|
@@ -1,3 +1,7 @@
|
||||
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
|
||||
|
@@ -1,3 +1,7 @@
|
||||
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
|
||||
|
@@ -1,3 +1,7 @@
|
||||
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
|
||||
|
@@ -1,3 +1,7 @@
|
||||
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
|
||||
|
@@ -931,7 +931,11 @@ 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
|
||||
|
Reference in New Issue
Block a user