summaryrefslogtreecommitdiffstats
path: root/sftp.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-07-18 08:13:02 +0200
committerDamien Miller <djm@mindrot.org>2013-07-18 08:13:02 +0200
commit746d1a6c524d2e90ebe98cc29e42573a3e1c3c1b (patch)
treecd2b6afe877d10ed89f10417570dd31905c71dcb /sftp.c
parent - djm@cvs.openbsd.org 2013/07/12 00:19:59 (diff)
downloadopenssh-746d1a6c524d2e90ebe98cc29e42573a3e1c3c1b.tar.xz
openssh-746d1a6c524d2e90ebe98cc29e42573a3e1c3c1b.zip
- djm@cvs.openbsd.org 2013/07/12 00:20:00
[sftp.c ssh-keygen.c ssh-pkcs11.c] fix pointer-signedness warnings from clang/llvm-3.3; "seems nice" deraadt@
Diffstat (limited to 'sftp.c')
-rw-r--r--sftp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sftp.c b/sftp.c
index f50a4bb6a..f0daaefa4 100644
--- a/sftp.c
+++ b/sftp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp.c,v 1.146 2013/06/04 20:42:36 dtucker Exp $ */
+/* $OpenBSD: sftp.c,v 1.147 2013/07/12 00:20:00 djm Exp $ */
/*
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
*
@@ -1830,7 +1830,8 @@ static unsigned char
complete(EditLine *el, int ch)
{
char **argv, *line, quote;
- u_int argc, carg, cursor, len, terminated, ret = CC_ERROR;
+ int argc, carg;
+ u_int cursor, len, terminated, ret = CC_ERROR;
const LineInfo *lf;
struct complete_ctx *complete_ctx;