Browse Source

win/test: Fix string format specifier

bnum_allocs returns a long (%ld), not an unsigned long long (%llu).
jp9000 10 years ago
parent
commit
fb414e8988
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/win/test.cpp

+ 1 - 1
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);