--- ./misc/os_spec.c.orig	2024-10-31 00:50:23.673573000 -0400
+++ ./misc/os_spec.c	2024-10-31 00:50:23.703963000 -0400
@@ -3389,11 +3389,11 @@
 
 	/* Walk down the block list checking whether the page(s) contain another 
 	   locked block */
-	status = getBlockListInfo( NULL, &currentBlockPtr, &currentBlockSize );
+	status = getBlockListInfo( NULL, (const void **)&currentBlockPtr, &currentBlockSize );
 	REQUIRES_V( cryptStatusOK( status ) );
 	LOOP_LARGE_CHECKINC( cryptStatusOK( status ),
 						 status = getBlockListInfo( currentBlockPtr, 
-													&currentBlockPtr, 
+													(const void **)&currentBlockPtr, 
 													&currentBlockSize ) )
 		{
 		const PTR_TYPE currentFirstPageAddress = \
