nwnss: fix ZLSS repair verify routine cast
This commit is contained in:
@@ -1185,6 +1185,8 @@ FreeMemory2:
|
||||
* code will verify a volume when ever it finds a zFTYPE_ZLSS_VOLUME_LOCATOR beast.
|
||||
*
|
||||
*/
|
||||
typedef ZVP_ERROR (*ZVP_VerifyRoutine_t)(VerifyStats_s *vStats);
|
||||
|
||||
typedef struct ZVP_VerifyRoutines_s
|
||||
{
|
||||
ADDR ZVR_Routine;
|
||||
@@ -1785,7 +1787,7 @@ TODO - inline as vStats now allocated
|
||||
vStats->VS_cBS = NULL; // Help catch if we forget to set.
|
||||
|
||||
ZVP_ADSet( vStats, ZVP_VerifyRoutines[i].ZVR_ActionDescription, NULL );
|
||||
ccode = ((LONG (*)())ZVP_VerifyRoutines[i].ZVR_Routine)(vStats);
|
||||
ccode = ((ZVP_VerifyRoutine_t)ZVP_VerifyRoutines[i].ZVR_Routine)(vStats);
|
||||
ZVP_ADRecord( vStats );
|
||||
if (ccode != zOK)
|
||||
{
|
||||
@@ -1818,7 +1820,7 @@ TODO - inline as vStats now allocated
|
||||
{
|
||||
vStats->VS_cBS = NULL; // Help catch if we forget to set.
|
||||
ZVP_ADSet( vStats, ZVP_VerifyRoutines[i].ZVR_ActionDescription, NULL );
|
||||
ccode = ((LONG (*)())ZVP_VerifyRoutines[i].ZVR_Routine)(vStats);
|
||||
ccode = ((ZVP_VerifyRoutine_t)ZVP_VerifyRoutines[i].ZVR_Routine)(vStats);
|
||||
ZVP_ADRecord( vStats );
|
||||
if (ccode != zOK)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user