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

Build failure on alpha reported by Tim Rightnour on current-users.
This commit is contained in:
simonb 2000-04-18 03:46:41 +00:00
parent c58f0ee9cd
commit ae62335eb5
1 changed files with 4 additions and 4 deletions

View File

@ -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. * Copyright (c) 1992, The Regents of the University of California.
@ -34,14 +34,14 @@
*/ */
#ifdef MAKE_BOOTSTRAP #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 #else
#include <sys/cdefs.h> #include <sys/cdefs.h>
#ifndef lint #ifndef lint
#if 0 #if 0
static char sccsid[] = "@(#)for.c 8.1 (Berkeley) 6/6/93"; static char sccsid[] = "@(#)for.c 8.1 (Berkeley) 6/6/93";
#else #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
#endif /* not lint */ #endif /* not lint */
#endif #endif
@ -115,7 +115,7 @@ ForAddVar(data, len)
size_t len; size_t len;
{ {
Buffer buf; Buffer buf;
size_t varlen; int varlen;
buf = Buf_Init(0); buf = Buf_Init(0);
Buf_AddBytes(buf, len, (Byte *) data); Buf_AddBytes(buf, len, (Byte *) data);