]> jfr.im git - irc/quakenet/newserv.git/blobdiff - patriciasearch/ps-users.c
TRUSTS: use correct socket opt...
[irc/quakenet/newserv.git] / patriciasearch / ps-users.c
index 0cefa25ed521d712bb77bae9e457c01cd5914098..f75a252e2e3d0f8a88ad9ef926551067fc0adaed 100644 (file)
@@ -25,7 +25,7 @@ struct searchNode *ps_users_parse(searchCtx *ctx, int argc, char **argv) {
 void *ps_users_exe(searchCtx *ctx, struct searchNode *thenode, void *theinput) {
   patricia_node_t *pn = (patricia_node_t *)theinput;
 
-  return (void *)(pn->usercount);
+  return (void *)(long)(pn->usercount);
 }
 
 void ps_users_free(searchCtx *ctx, struct searchNode *thenode) {