changed allocation counter to uint64_t
also avoids format string confusion for bnum_allocs
This commit is contained in:
@@ -179,7 +179,7 @@ static void test()
|
||||
|
||||
obs_shutdown();
|
||||
|
||||
blog(LOG_INFO, "Number of memory leaks: %zu", bnum_allocs());
|
||||
blog(LOG_INFO, "Number of memory leaks: %llu", bnum_allocs());
|
||||
}
|
||||
|
||||
/* --------------------------------------------------- */
|
||||
|
@@ -189,7 +189,7 @@ int WINAPI WinMain(HINSTANCE instance, HINSTANCE prevInstance, LPSTR cmdLine,
|
||||
|
||||
obs_shutdown();
|
||||
|
||||
blog(LOG_INFO, "Number of memory leaks: %u", bnum_allocs());
|
||||
blog(LOG_INFO, "Number of memory leaks: %llu", bnum_allocs());
|
||||
DestroyWindow(hwnd);
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user