diff --git a/src/nwnss/comn/common/dirQuotas.c b/src/nwnss/comn/common/dirQuotas.c index 8b17d44..eac77e5 100644 --- a/src/nwnss/comn/common/dirQuotas.c +++ b/src/nwnss/comn/common/dirQuotas.c @@ -1193,7 +1193,7 @@ exit: if (COMN_LockVolumeActive(&genMsg, newVol, FALSE) == zOK) { NumDirQuotasScheduled++; - WORK_Schedule((FsmLite_s *)newEntry, DIRQ_ComputeUsedAmountThread, NULL); + WORK_Schedule((FsmLite_s *)newEntry, (voidfunc_t)DIRQ_ComputeUsedAmountThread, (ADDR)NULL); } else { @@ -1692,7 +1692,7 @@ STATUS DIRQ_SetDirectoryQuota( { NumDirQuotasScheduled++; //DBG_DebugPrintf(YELLOW, "DIRQ -- Inc dir quotas scheduled: %d\n", NumDirQuotasScheduled); - WORK_Schedule((FsmLite_s *)fsm, DIRQ_ComputeUsedAmountThread, NULL); + WORK_Schedule((FsmLite_s *)fsm, (voidfunc_t)DIRQ_ComputeUsedAmountThread, (ADDR)NULL); status = zOK; } }