]> jfr.im git - irc/quakenet/newserv.git/blobdiff - core/schedule.c
add is_normalized_ipmask
[irc/quakenet/newserv.git] / core / schedule.c
index 18219b631f4027c406cbf50169e62e2ea879b099..cf495e0d5980fb880a1b34bb92aa88666d1f3ef4 100644 (file)
@@ -264,7 +264,7 @@ void doscheduledevents(time_t when) {
     schedule_heapify(0);
     
     if (sp->callback==NULL) {
-      Error("core",ERR_ERROR,"Tried to call NULL function in doscheduledevents(): (%x, %x, %x)",sp,sp->callback,sp->callbackparam);
+      Error("core",ERR_ERROR,"Tried to call NULL function in doscheduledevents(): (%p, %p, %p)",sp,sp->callback,sp->callbackparam);
       continue;
     }
 
@@ -307,7 +307,7 @@ void doscheduledevents(time_t when) {
 }
 
 void schedulestats(int hooknum, void *arg) {
-  int level=(int)arg;
+  long level=(long)arg;
   char buf[512];
 
   if (level>5) {