diff options
Diffstat (limited to 'source/Core/Opcode.cpp')
-rw-r--r-- | source/Core/Opcode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Core/Opcode.cpp b/source/Core/Opcode.cpp index 2bf7f5e..73f5f85 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; } |