Przeglądaj źródła

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

Paul Eggert 24 lat temu
rodzic
commit
4ae648023c
1 zmienionych plików z 1 dodań i 1 usunięć
  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);