aboutsummaryrefslogtreecommitdiff
path: root/source/Core/Opcode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Core/Opcode.cpp')
-rw-r--r--source/Core/Opcode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Core/Opcode.cpp b/source/Core/Opcode.cpp
index 2bf7f5eae9b0..73f5f85923c6 100644
--- a/source/Core/Opcode.cpp
+++ b/source/Core/Opcode.cpp
@@ -63,7 +63,7 @@ Opcode::Dump (Stream *s, uint32_t min_byte_width)
// Add spaces to make sure bytes dispay comes out even in case opcodes
// aren't all the same size
- if (bytes_written < min_byte_width)
+ if (static_cast<uint32_t>(bytes_written) < min_byte_width)
bytes_written = s->Printf ("%*s", min_byte_width - bytes_written, "");
return bytes_written;
}