浏览代码

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

Paul Eggert 24 年之前
父节点
当前提交
4ae648023c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);