Give void* ptr to %p formatter

Silences a format type mismatch warning
This commit is contained in:
ISSOtm
2021-02-19 16:15:31 +01:00
parent c29b616f93
commit 6ef3ee1391

View File

@@ -275,7 +275,7 @@ bool yywrap(void)
lexer_DeleteState(context->lexerState);
/* Restore args if a macro (not REPT) saved them */
if (context->fileInfo->type == NODE_MACRO) {
dbgPrint("Restoring macro args %p\n", contextStack->macroArgs);
dbgPrint("Restoring macro args %p\n", (void *)contextStack->macroArgs);
macro_UseNewArgs(contextStack->macroArgs);
}
/* Free the file stack node */