X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=lib%2Falloca.c;h=6ad425a4cd6cdd2224c6f0aad359da5e32f9ec61;hb=172dc3e72b5a2b11af420eb546024c3dc7f03deb;hp=55a80677f78b85d223cf96436a08af52b667fdf2;hpb=54bb77bfca1826fd1775a4da527c506d62e9a742;p=chaz%2Ftar diff --git a/lib/alloca.c b/lib/alloca.c index 55a8067..6ad425a 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);