Mercurial > hg > xemacs-beta
diff src/alloc.c @ 1634:750821e2c014
[xemacs-hg @ 2003-08-19 09:58:08 by michaels]
2003-08-19 René Kyllingstad <listmailxemacs@kyllingstad.com>
* alloc.c (kkcc_gc_stack_init):
(kkcc_gc_stack_realloc): Missing casts for the return value of
malloc and realloc.
author | michaels |
---|---|
date | Tue, 19 Aug 2003 09:58:10 +0000 |
parents | ac1be85b4a5f |
children | 763f577d57b0 |
line wrap: on
line diff
--- a/src/alloc.c Tue Aug 19 02:11:49 2003 +0000 +++ b/src/alloc.c Tue Aug 19 09:58:10 2003 +0000 @@ -2969,7 +2969,7 @@ kkcc_gc_stack_init (void) { kkcc_gc_stack_size = KKCC_INIT_GC_STACK_SIZE; - kkcc_gc_stack_ptr = + kkcc_gc_stack_ptr = (kkcc_gc_stack_entry *) malloc (kkcc_gc_stack_size * sizeof (kkcc_gc_stack_entry)); if (!kkcc_gc_stack_ptr) { @@ -2993,7 +2993,7 @@ kkcc_gc_stack_realloc (void) { kkcc_gc_stack_size *= 2; - kkcc_gc_stack_ptr = + kkcc_gc_stack_ptr = (kkcc_gc_stack_entry *) realloc (kkcc_gc_stack_ptr, kkcc_gc_stack_size * sizeof (kkcc_gc_stack_entry)); if (!kkcc_gc_stack_ptr)