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:
parent
bed692ca0e
commit
dafbd7faba
1 changed files with 1 additions and 0 deletions
|
@ -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 *);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue