From c0736aaabfb9dc0e81717b66d4613d09359acbae Mon Sep 17 00:00:00 2001 From: Kelvin Lee Date: Sat, 10 Sep 2016 09:52:01 +1000 Subject: [PATCH] Print pointers in correct way. --- source/Tfe/Tfe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Tfe/Tfe.cpp b/source/Tfe/Tfe.cpp index 5f24ce14..2edd5c30 100644 --- a/source/Tfe/Tfe.cpp +++ b/source/Tfe/Tfe.cpp @@ -504,7 +504,7 @@ int tfe_activate_i(void) #ifdef TFE_DEBUG_INIT if(g_fh) fprintf(g_fh, "tfe_activate: Allocated memory successfully.\n"); - if(g_fh) fprintf(g_fh, "\ttfe at $%08X, tfe_packetpage at $%08X\n", tfe, tfe_packetpage ); + if(g_fh) fprintf(g_fh, "\ttfe at $%08X, tfe_packetpage at $%08X\n", uintptr_t(tfe), uintptr_t(tfe_packetpage) ); #endif #ifdef DOS_TFE