瀏覽代碼

win/test: Fix string format specifier

bnum_allocs returns a long (%ld), not an unsigned long long (%llu).
jp9000 10 年之前
父節點
當前提交
fb414e8988
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);