From fb414e8988d6735152a87f766a237f291594f3f8 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Mon, 9 Feb 2015 01:19:46 -0800 Subject: [PATCH] win/test: Fix string format specifier bnum_allocs returns a long (%ld), not an unsigned long long (%llu). --- test/win/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/win/test.cpp b/test/win/test.cpp index 148b451bd..fe78c92e1 100644 --- a/test/win/test.cpp +++ b/test/win/test.cpp @@ -198,7 +198,7 @@ int WINAPI WinMain(HINSTANCE instance, HINSTANCE prevInstance, LPSTR cmdLine, obs_shutdown(); - blog(LOG_INFO, "Number of memory leaks: %llu", bnum_allocs()); + blog(LOG_INFO, "Number of memory leaks: %ld", bnum_allocs()); DestroyWindow(hwnd); UNUSED_PARAMETER(prevInstance);