Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make Buf_GetAll() takes an int *, not a size_t *.



details:   https://anonhg.NetBSD.org/src/rev/c52c5873b435
branches:  trunk
changeset: 485070:c52c5873b435
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Apr 18 03:46:41 2000 +0000

description:
Buf_GetAll() takes an int *, not a size_t *.

Build failure on alpha reported by Tim Rightnour on current-users.

diffstat:

 usr.bin/make/for.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r be6d53f68948 -r c52c5873b435 usr.bin/make/for.c
--- a/usr.bin/make/for.c        Tue Apr 18 02:12:25 2000 +0000
+++ b/usr.bin/make/for.c        Tue Apr 18 03:46:41 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: for.c,v 1.7 2000/04/16 22:08:06 christos Exp $ */
+/*     $NetBSD: for.c,v 1.8 2000/04/18 03:46:41 simonb Exp $   */
 
 /*
  * Copyright (c) 1992, The Regents of the University of California.
@@ -34,14 +34,14 @@
  */
 
 #ifdef MAKE_BOOTSTRAP
-static char rcsid[] = "$NetBSD: for.c,v 1.7 2000/04/16 22:08:06 christos Exp $";
+static char rcsid[] = "$NetBSD: for.c,v 1.8 2000/04/18 03:46:41 simonb Exp $";
 #else
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static char sccsid[] = "@(#)for.c      8.1 (Berkeley) 6/6/93";
 #else
-__RCSID("$NetBSD: for.c,v 1.7 2000/04/16 22:08:06 christos Exp $");
+__RCSID("$NetBSD: for.c,v 1.8 2000/04/18 03:46:41 simonb Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -115,7 +115,7 @@
        size_t len;
 {
        Buffer buf;
-       size_t varlen;
+       int varlen;
 
        buf = Buf_Init(0);
        Buf_AddBytes(buf, len, (Byte *) data);



Home | Main Index | Thread Index | Old Index