When using data outside the signed char range, it is better to

consistently use an unsigned char buffer.
This commit is contained in:
joerg 2016-10-04 15:06:31 +00:00
parent fa071fd5eb
commit 740128222b
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ftp.c,v 1.166 2015/12/13 14:06:13 tron Exp $ */
/* $NetBSD: ftp.c,v 1.167 2016/10/04 15:06:31 joerg Exp $ */
/*-
* Copyright (c) 1996-2009 The NetBSD Foundation, Inc.
@ -92,7 +92,7 @@
#if 0
static char sccsid[] = "@(#)ftp.c 8.6 (Berkeley) 10/27/94";
#else
__RCSID("$NetBSD: ftp.c,v 1.166 2015/12/13 14:06:13 tron Exp $");
__RCSID("$NetBSD: ftp.c,v 1.167 2016/10/04 15:06:31 joerg Exp $");
#endif
#endif /* not lint */
@ -2064,7 +2064,7 @@ abort_squared(int dummy)
void
abort_remote(FILE *din)
{
char buf[BUFSIZ];
unsigned char buf[BUFSIZ];
int nfnd;
if (cout == NULL) {