mirror of
https://gitlab.freedesktop.org/xorg/lib/libxcb.git
synced 2026-05-07 02:38:02 +02:00
Set namelen unsigned
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
9c9c09b376
commit
38d5de3a55
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue