comparison src/vm-limit.c @ 400:a86b2b5e0111 r21-2-30

Import from CVS: tag r21-2-30
author cvs
date Mon, 13 Aug 2007 11:14:34 +0200
parents 74fd4e045ea6
children de805c49cfc1
comparison
equal deleted inserted replaced
399:376370fb5946 400:a86b2b5e0111
122 memory_warnings (void *start, void (*warnfun) (const char *)) 122 memory_warnings (void *start, void (*warnfun) (const char *))
123 { 123 {
124 extern void (* __after_morecore_hook) (void); /* From gmalloc.c */ 124 extern void (* __after_morecore_hook) (void); /* From gmalloc.c */
125 125
126 if (start) 126 if (start)
127 data_space_start = start; 127 data_space_start = (char*) start;
128 else 128 else
129 data_space_start = start_of_data (); 129 data_space_start = start_of_data ();
130 130
131 #ifndef _NO_MALLOC_WARNING_ 131 #ifndef _NO_MALLOC_WARNING_
132 warn_function = warnfun; 132 warn_function = warnfun;