mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 16:24:39 +02:00
- (djm) OpenBSD CVS Sync
- markus@cvs.openbsd.org 2012/10/05 12:34:39 [sftp.c] fix signed vs unsigned warning; feedback & ok: djm@
This commit is contained in:
parent
c0e5cbe222
commit
07daed505f
@ -1,3 +1,9 @@
|
|||||||
|
20121030
|
||||||
|
- (djm) OpenBSD CVS Sync
|
||||||
|
- markus@cvs.openbsd.org 2012/10/05 12:34:39
|
||||||
|
[sftp.c]
|
||||||
|
fix signed vs unsigned warning; feedback & ok: djm@
|
||||||
|
|
||||||
20121019
|
20121019
|
||||||
- (tim) [buildpkg.sh.in] Double up on some backslashes so they end up in
|
- (tim) [buildpkg.sh.in] Double up on some backslashes so they end up in
|
||||||
the generated file as intended.
|
the generated file as intended.
|
||||||
|
4
sftp.c
4
sftp.c
@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: sftp.c,v 1.140 2012/09/21 10:55:04 dtucker Exp $ */
|
/* $OpenBSD: sftp.c,v 1.141 2012/10/05 12:34:39 markus Exp $ */
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
|
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
|
||||||
*
|
*
|
||||||
@ -991,7 +991,7 @@ makeargv(const char *arg, int *argcp, int sloppy, char *lastquote,
|
|||||||
state = MA_START;
|
state = MA_START;
|
||||||
i = j = 0;
|
i = j = 0;
|
||||||
for (;;) {
|
for (;;) {
|
||||||
if (argc >= sizeof(argv) / sizeof(*argv)){
|
if ((size_t)argc >= sizeof(argv) / sizeof(*argv)){
|
||||||
error("Too many arguments.");
|
error("Too many arguments.");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user