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;
}
}
void schedulestats(int hooknum, void *arg) {
- int level=(int)arg;
+ long level=(long)arg;
char buf[512];
if (level>5) {