Jelajahi Sumber

(alloca): Arg is of type size_t, not unsigned.

Paul Eggert 24 tahun lalu
induk
melakukan
4ae648023c
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      lib/alloca.c

+ 1 - 1
lib/alloca.c

@@ -169,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);