diff options
author | Julien Danjou <julien@danjou.info> | 2008-08-27 13:56:28 +0200 |
---|---|---|
committer | Julien Danjou <julien@danjou.info> | 2008-08-28 13:49:21 +0200 |
commit | 38d5de3a5573b2e89e97d04a809a3dd38a0fe8a7 (patch) | |
tree | d32638a04a69fb4bae72c8e22ddaae3cbd51d974 /src/xcb_auth.c | |
parent | 9c9c09b376fe1ddcedd03c52cfc0b06867d998c9 (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.c | 2 |
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; |