0618 nwnss: fix dir quota work callback casts

This commit is contained in:
Mario Fetka
2026-06-16 13:50:37 +00:00
parent dea40c6126
commit 962d6864da

View File

@@ -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;
}
}