fix 2 warnings

This commit is contained in:
altalk23
2026-03-01 15:06:56 +03:00
parent eba55142ae
commit 7f5a784048
2 changed files with 2 additions and 2 deletions

View File

@@ -107,7 +107,7 @@ void CForceFeedback::Tick(void)
LinkedList::_LL_NODE* pTemp = pRumbleNode;
pRumbleNode = pRumbleNode->m_Next;
delete pTemp->m_pvData;
delete pTemp->GetDataAs<RUMBLE_EFFECT>();
delete pTemp;
}
else

View File

@@ -64,7 +64,7 @@ C4JStorage::ESaveGameState CSaveGame::GetSavesInfo(int iPad, int (*Func)(LPVOID
if (h == INVALID_HANDLE_VALUE)
{
DWORD error = GetLastError();
printf("Error finding save dirs: 0x%08x\n", error);
printf("Error finding save dirs: 0x%08lx\n", error);
}
else
{