Mercurial > hg > xemacs-beta
changeset 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 | baca156a450b |
children | 7107ed3b2272 |
files | src/ChangeLog src/alloc.c |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Tue Aug 19 02:11:49 2003 +0000 +++ b/src/ChangeLog Tue Aug 19 09:58:10 2003 +0000 @@ -1,3 +1,9 @@ +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. + 2003-08-18 Jerry James <james@xemacs.org> * Makefile.in.in (export_lib): New.
--- 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)