X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fvm-limit.c;h=b6c7ddad7f00aec16436d1abb92cc9fb3c5cd6bb;hb=2cbece6401b2279497293e6dc54cda607f49db2f;hp=3294f124a302fb1f67a67a8bc284b69fd0f30c6f;hpb=6883ee56ec887c2c48abe5b06b5e66aa74031910;p=chise%2Fxemacs-chise.git- diff --git a/src/vm-limit.c b/src/vm-limit.c index 3294f12..b6c7dda 100644 --- a/src/vm-limit.c +++ b/src/vm-limit.c @@ -45,7 +45,7 @@ static int warnlevel; /* Function to call to issue a warning; 0 means don't issue them. */ -static void (*warn_function) (CONST char *); +static void (*warn_function) (const char *); /* Get more memory space, complaining if we're near the end. */ @@ -119,12 +119,12 @@ check_memory_limits (void) also declare where the end of pure storage is. */ void -memory_warnings (void *start, void (*warnfun) (CONST char *)) +memory_warnings (void *start, void (*warnfun) (const char *)) { extern void (* __after_morecore_hook) (void); /* From gmalloc.c */ if (start) - data_space_start = start; + data_space_start = (char*) start; else data_space_start = start_of_data ();