nwnss: fix ZLSS xaction callback casts
This commit is contained in:
@@ -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();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user