Resolve GCC Warnings

This commit is contained in:
Minty-Meeo committed 2022-06-30 15:26:48 -05:00
1 parent e50e45f400
commit 69e32dea52
10 files changed
+40 -29

No files matched your search

+1 -1
View File
@@ -194,7 +194,7 @@ bool DSPDisassembler::DisassembleOpcode(const u16* binbuf, size_t binbuf_size, u
// Size 2 - the op has a large immediate.
if (opc->size == 2)
{
if (wrapped_pc + 1 >= binbuf_size)
if (wrapped_pc + 1u >= binbuf_size)
{
if (settings_.show_hex)
dest += fmt::format("{:04x} ???? ", op1);