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) {
sendnoticetouser(proxyscannick,np,"Total scans completed: %d",scansdone);
sendnoticetouser(proxyscannick,np,"Total hosts glined: %d",glinedhosts);
- sendnoticetouser(proxyscannick,np,"pendingscan structures: %lu x %u bytes = %lu bytes total",countpendingscan,
+ sendnoticetouser(proxyscannick,np,"pendingscan structures: %lu x %lu bytes = %lu bytes total",countpendingscan,
sizeof(pendingscan), (countpendingscan * sizeof(pendingscan)));
sendnoticetouser(proxyscannick,np,"Currently active scans: %d/%d",activescans,maxscans);