From 6ef3ee1391656669f6bd2437f503789505632a8d Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Fri, 19 Feb 2021 16:15:31 +0100 Subject: [PATCH] Give void* ptr to %p formatter Silences a format type mismatch warning --- src/asm/fstack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asm/fstack.c b/src/asm/fstack.c index bf2c7415..bfd10171 100644 --- a/src/asm/fstack.c +++ b/src/asm/fstack.c @@ -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 */