From 66fd87eeb0f062d3a3e69acf0751d9ecd2b7ebfc Mon Sep 17 00:00:00 2001 From: Philipp Joram Date: Thu, 12 May 2016 22:29:13 +0200 Subject: [PATCH] Cast result to correct type for display --- 3DS/source/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3DS/source/util.c b/3DS/source/util.c index b04fcd1..f5fa6d8 100644 --- a/3DS/source/util.c +++ b/3DS/source/util.c @@ -17,7 +17,7 @@ PrintConsole debug; void util_hang(Result res) { fprintf(stderr, "Press START to exit.\n"); - util_debug_printf("Will exit with status 0x%08x.\n", res); + util_debug_printf("Will exit with status 0x%08x.\n", (unsigned int) res); while (1) { hidScanInput();