+2006-11-05 Bruno Haible <bruno@clisp.org>
+
+ * lib/gl_array_list.c (gl_array_iterator_next): Make pointer decrement
+ ANSI C compliant.
+
2006-11-03 Bruno Haible <bruno@clisp.org>
Simplify xmalloc expressions. Add overflow check in xmalloc arguments.
abort ();
/* The last returned element was removed. */
iterator->count--;
- iterator->p--;
- iterator->q--;
+ iterator->p = (const void **) iterator->p - 1;
+ iterator->q = (const void **) iterator->q - 1;
}
if (iterator->p < iterator->q)
{