fixed SIZEOF_LONG==4 assumption with ENABLE_MEM_CHECK, from Art Haas

Fri May 19 09:00:44 2000  Tim Janik  <timj@gtk.org>

        * gmem.c (g_free): fixed SIZEOF_LONG==4 assumption with
        ENABLE_MEM_CHECK, from Art Haas <ahaas@neosoft.com>.

        * gslist.c (g_slist_reverse): shut up compiler.

        * gscanner.c (g_scanner_get_token_ll): removed inline assignment.

        * garray.c: remove index>=0 checks for unsigned indices.

        * gmain.c (g_idle_prepare): timeout assignment fix.

        * gtree.c (g_tree_node_rotate_right): shut up compiler.
This commit is contained in:
Tim Janik
2000-05-19 08:18:29 +00:00
committed by Tim Janik
parent 4b9a9eb8d3
commit 1e5d06d4ce
24 changed files with 160 additions and 50 deletions

View File

@@ -390,11 +390,11 @@ GSList*
g_slist_reverse (GSList *list)
{
GSList *prev = NULL;
GSList *next = NULL;
while (list)
{
next = list->next;
GSList *next = list->next;
list->next = prev;
prev = list;