X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Falloca.c;h=6ad425a4cd6cdd2224c6f0aad359da5e32f9ec61;hb=3a9db4f7ace0008d193cb2fc21a75fff109cb8fc;hp=55a80677f78b85d223cf96436a08af52b667fdf2;hpb=35d18110847c5cc829393fe0b28ab11d86e111ac;p=gnulib.git diff --git a/lib/alloca.c b/lib/alloca.c index 55a80677f..6ad425a4c 100644 --- a/lib/alloca.c +++ b/lib/alloca.c @@ -88,6 +88,7 @@ typedef char *pointer; Callers below should use malloc. */ # ifndef emacs +# undef malloc # define malloc xmalloc # endif extern pointer malloc (); @@ -168,7 +169,7 @@ static header *last_alloca_header = NULL; /* -> last alloca header. */ implementations of C, for example under Gould's UTX/32. */ pointer -alloca (unsigned size) +alloca (size_t size) { auto char probe; /* Probes stack depth: */ register char *depth = ADDRESS_FUNCTION (probe);