diff options
author | bunnei <bunneidev@gmail.com> | 2014-11-28 23:08:18 -0500 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-11-28 23:08:18 -0500 |
commit | 83c3d37cd01e6f8f63b5bc27ba5754fa6ed70360 (patch) | |
tree | eb02a8d87c8b4ee109e23efa4f9e1ab92cfdb13c /src/core/hw/ndma.cpp | |
parent | 2a4b698f8e89f412e725b47fac77cedc5645bc37 (diff) | |
parent | 223e76d51dd4af9d3ff8b823ddb82a3ee9b2586a (diff) |
Merge pull request #227 from vaguilar/fix-warnings
Fixed formatting and switch statement warnings
Diffstat (limited to 'src/core/hw/ndma.cpp')
-rw-r--r-- | src/core/hw/ndma.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hw/ndma.cpp b/src/core/hw/ndma.cpp index e29a773f1..593e5de30 100644 --- a/src/core/hw/ndma.cpp +++ b/src/core/hw/ndma.cpp @@ -15,7 +15,7 @@ inline void Read(T &var, const u32 addr) { template <typename T> inline void Write(u32 addr, const T data) { - ERROR_LOG(NDMA, "unknown Write%lu 0x%08X @ 0x%08X", sizeof(data) * 8, data, addr); + ERROR_LOG(NDMA, "unknown Write%lu 0x%08X @ 0x%08X", sizeof(data) * 8, (u32)data, addr); } // Explicitly instantiate template functions because we aren't defining this in the header: |