]> andersk Git - openssh.git/blobdiff - match.c
- djm@cvs.openbsd.org 2005/06/17 02:44:33
[openssh.git] / match.c
diff --git a/match.c b/match.c
index 3ddb627302717236f0666a8ba9e6cbd216494896..29fb7dab94e252bf0d4e61e7254b46bde41d84dd 100644 (file)
--- a/match.c
+++ b/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;
This page took 0.056456 seconds and 4 git commands to generate.