nwnss: fix ZLSS xaction callback casts

This commit is contained in:
OpenAI
2026-06-19 09:14:43 +00:00
committed by Mario Fetka
parent 2a8a31bcbc
commit 24d24ed3b2

View File

@@ -385,7 +385,7 @@ STATUS XACT_Startup (void)
ENTER(TXACTION, XACT_Startup);
if (CONTROL_Startup(&XactionControl, ZstoreConfig.zfs.numXactions,
sizeof(ZfsXaction_s), XACT_Init) != zOK)
sizeof(ZfsXaction_s), (voidfunc_t)XACT_Init) != zOK)
{
RTN_STATUS(zFAILURE);
}
@@ -714,7 +714,7 @@ void EndXlocalAsync (ZfsXaction_s *xaction)
* This only works because the FSM and the ZfsXaction_s
* are at offset 0.
*/
WORK_Schedule_HIGH( &xaction->xaction.agent.fsm, EndXlocal, 0);
WORK_Schedule_HIGH( &xaction->xaction.agent.fsm, (voidfunc_t)EndXlocal, 0);
RTN_VOID();
}