summaryrefslogtreecommitdiff
path: root/src/xcb_auth.c
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2008-08-27 13:56:28 +0200
committerJulien Danjou <julien@danjou.info>2008-08-28 13:49:21 +0200
commit38d5de3a5573b2e89e97d04a809a3dd38a0fe8a7 (patch)
treed32638a04a69fb4bae72c8e22ddaae3cbd51d974 /src/xcb_auth.c
parent9c9c09b376fe1ddcedd03c52cfc0b06867d998c9 (diff)
Set namelen unsigned
Signed-off-by: Julien Danjou <julien@danjou.info>
Diffstat (limited to 'src/xcb_auth.c')
-rw-r--r--src/xcb_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xcb_auth.c b/src/xcb_auth.c
index 3f24690..b44855e 100644
--- a/src/xcb_auth.c
+++ b/src/xcb_auth.c
@@ -68,7 +68,7 @@ static size_t memdup(char **dst, void *src, size_t len)
return len;
}
-static int authname_match(enum auth_protos kind, char *name, int namelen)
+static int authname_match(enum auth_protos kind, char *name, size_t namelen)
{
if(strlen(authnames[kind]) != namelen)
return 0;