[Xcb] [PATCH] Set namelen unsigned
Julien Danjou
julien at danjou.info
Wed Aug 27 04:56:28 PDT 2008
Signed-off-by: Julien Danjou <julien at danjou.info>
---
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;
--
1.5.6.3
More information about the Xcb
mailing list