diff options
| author | Mark Rowe <mark@vector35.com> | 2025-12-19 11:12:20 -0800 |
|---|---|---|
| committer | Mark Rowe <mark@vector35.com> | 2025-12-20 21:34:49 -0800 |
| commit | ed0f3b1b8593f6b76fbb64c53a0885073c1c1979 (patch) | |
| tree | 5d22d77ccea8bffc0619a32ed886d79d14daccf1 /arch/powerpc/arch_ppc.cpp | |
| parent | ba13f6ec7d0ce9a18a03a1c895fb72d18e03014a (diff) | |
Fix many of the warnings that show up when compiling with GCC 15.2
Diffstat (limited to 'arch/powerpc/arch_ppc.cpp')
| -rw-r--r-- | arch/powerpc/arch_ppc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/arch_ppc.cpp b/arch/powerpc/arch_ppc.cpp index f10757d5..a1605923 100644 --- a/arch/powerpc/arch_ppc.cpp +++ b/arch/powerpc/arch_ppc.cpp @@ -517,14 +517,14 @@ class PowerpcArchitecture: public Architecture case PPC_OP_SIMM: if (op->simm < 0 && op->simm > -0x10000) - snprintf(buf, sizeof(buf), "-0x%llx", -op->simm); + snprintf(buf, sizeof(buf), "-0x%" PRIx64, -op->simm); else - snprintf(buf, sizeof(buf), "0x%llx", op->simm); + snprintf(buf, sizeof(buf), "0x%" PRIx64, op->simm); result.emplace_back(IntegerToken, buf, op->simm, 4); break; case PPC_OP_LABEL: - snprintf(buf, sizeof(buf), "0x%llx", op->label); + snprintf(buf, sizeof(buf), "0x%" PRIx64, op->label); result.emplace_back(CodeRelativeAddressToken, buf, op->label, 4); break; |
