Fix Linux build warnings

This commit is contained in:
notmatthewbeshay
2026-03-14 04:37:55 +11:00
parent 44ade1f2b2
commit 0249bfd2bf
47 changed files with 183 additions and 60 deletions

View File

@@ -523,12 +523,12 @@ IggyLibrary UIController::loadSkin(const std::wstring &skinPath, const std::wstr
rrbool res;
int iteration = 0;
__int64 totalStatic = 0;
while(res = IggyDebugGetMemoryUseInfo ( NULL ,
while((res = IggyDebugGetMemoryUseInfo ( NULL ,
lib ,
"" ,
0 ,
iteration ,
&memoryInfo ))
&memoryInfo )))
{
totalStatic += memoryInfo.static_allocation_bytes;
app.DebugPrintf(app.USER_SR, "%ls - %.*s, static: %dB, dynamic: %dB\n", skinPath.c_str(), memoryInfo.subcategory_stringlen, memoryInfo.subcategory, memoryInfo.static_allocation_bytes, memoryInfo.dynamic_allocation_bytes);