From f1257f9e3f04161b370f1825fe4d2d5379eab051 Mon Sep 17 00:00:00 2001 From: Blaypeg Date: Sun, 25 May 2014 21:36:55 +0100 Subject: [PATCH] Change types to stop compiler warnings --- rpcs3/Gui/MemoryViewer.cpp | 4 ++-- rpcs3/Gui/VHDDManager.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rpcs3/Gui/MemoryViewer.cpp b/rpcs3/Gui/MemoryViewer.cpp index db9a10901b..0723e20230 100644 --- a/rpcs3/Gui/MemoryViewer.cpp +++ b/rpcs3/Gui/MemoryViewer.cpp @@ -191,9 +191,9 @@ void MemoryViewerPanel::ShowMemory() t_mem_addr_str += wxString::Format("%08x ", addr); } - for (int row = 0; row < m_rowcount; row++) + for (u32 row = 0; row < m_rowcount; row++) { - for (int col = 0; col < m_colcount; col++) + for (u32 col = 0; col < m_colcount; col++) { u32 addr = m_addr + row * m_colcount + col; diff --git a/rpcs3/Gui/VHDDManager.cpp b/rpcs3/Gui/VHDDManager.cpp index 57d7daca8b..c3c53cd00c 100644 --- a/rpcs3/Gui/VHDDManager.cpp +++ b/rpcs3/Gui/VHDDManager.cpp @@ -523,7 +523,7 @@ void VHDDManagerDialog::LoadPaths() { IniEntry path_count; path_count.Init("path_count", "HDDManager"); - int count = 0; + size_t count = 0; count = path_count.LoadValue(count); for(size_t i=0; i