0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

cap-notify: Fix possible crash on 64-bit systems.

find_named_client() was called without a prototype and therefore the
pointer could be truncated.
This commit is contained in:
Jilles Tjoelker 2015-03-01 15:00:52 +01:00
parent bed692ca0e
commit dafbd7faba

View file

@ -43,6 +43,7 @@
#include "s_user.h" #include "s_user.h"
#include "send.h" #include "send.h"
#include "s_conf.h" #include "s_conf.h"
#include "hash.h"
typedef int (*bqcmp)(const void *, const void *); typedef int (*bqcmp)(const void *, const void *);