From 962d6864da0b331a372671272c2deffe395addec Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Tue, 16 Jun 2026 13:50:37 +0000 Subject: [PATCH] 0618 nwnss: fix dir quota work callback casts --- src/nwnss/comn/common/dirQuotas.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } }