Use %zu instead of %d

This commit is contained in:
smallmodel 2023-11-14 01:06:52 +01:00
parent 30a1ccb2e2
commit d29454b44d
No known key found for this signature in database
GPG key ID: A96F163ED4891440

View file

@ -52,7 +52,7 @@ size_t totalmemallocated = 0;
unsigned int numclassesallocated = 0;
void DisplayMemoryUsage() {
LIGHTCLASS_Printf("Classes %-5d Class memory used: %d\n", numclassesallocated, totalmemallocated);
LIGHTCLASS_Printf("Classes %-5d Class memory used: %zu\n", numclassesallocated, totalmemallocated);
}
#ifndef _DEBUG_MEM