diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2005-06-17 02:44:34 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2005-06-17 02:44:34 +0000 |
commit | b5216077cb730c6b79d1055d1def970e752dbe34 (patch) | |
tree | f4f04edbda8b821a170db1a0fc39692ec8bfe1f7 /usr.bin/ssh/match.c | |
parent | 8fe5283bfe2d882aca8af010f5157ba3a42e114d (diff) |
make this -Wsign-compare clean; ok avsm@ markus@
Diffstat (limited to 'usr.bin/ssh/match.c')
-rw-r--r-- | usr.bin/ssh/match.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/match.c b/usr.bin/ssh/match.c index 3ddb6273027..29fb7dab94e 100644 --- a/usr.bin/ssh/match.c +++ b/usr.bin/ssh/match.c @@ -35,7 +35,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: match.c,v 1.19 2002/03/01 13:12:10 markus Exp $"); +RCSID("$OpenBSD: match.c,v 1.20 2005/06/17 02:44:32 djm Exp $"); #include "match.h" #include "xmalloc.h" @@ -254,7 +254,7 @@ match_list(const char *client, const char *server, u_int *next) ret = xstrdup(p); if (next != NULL) *next = (cp == NULL) ? - strlen(c) : cp - c; + strlen(c) : (u_int)(cp - c); xfree(c); xfree(s); return ret; |