diff options
author | Lioncash <mathew1800@gmail.com> | 2014-09-28 11:30:29 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2014-09-28 11:44:14 -0400 |
commit | ca2f0de08abaffea419e674274113b27acdf6ece (patch) | |
tree | 30bcdb7a6178ec37b97eac7929b8e92c0e9b0a1b /src/core/mem_map_funcs.cpp | |
parent | ee7cfc71bd8663b77a43c5ba577074972d9b7ad9 (diff) |
Fix warnings in core and common
Diffstat (limited to 'src/core/mem_map_funcs.cpp')
-rw-r--r-- | src/core/mem_map_funcs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/mem_map_funcs.cpp b/src/core/mem_map_funcs.cpp index f510df8350..90951812bb 100644 --- a/src/core/mem_map_funcs.cpp +++ b/src/core/mem_map_funcs.cpp @@ -287,7 +287,7 @@ void Write64(const VAddr addr, const u64 data) { } void WriteBlock(const VAddr addr, const u8* data, const size_t size) { - int offset = 0; + u32 offset = 0; while (offset < (size & ~3)) { Write32(addr + offset, *(u32*)&data[offset]); offset += 4; |