From a95264ad412b1cfc3ea2bfe4bafde065f318bc57 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 1 Sep 2013 13:38:42 -0700 Subject: [PATCH] Small warning fixes in MIPSAsm. --- Core/MIPS/MIPSAsm.cpp | 2 +- Core/MIPS/MIPSAsm.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/MIPS/MIPSAsm.cpp b/Core/MIPS/MIPSAsm.cpp index 8cd848ecc9..45b6ab78d8 100644 --- a/Core/MIPS/MIPSAsm.cpp +++ b/Core/MIPS/MIPSAsm.cpp @@ -9,7 +9,7 @@ namespace MIPSAsm char errorMessage[512]; -void SetAssembleError(char* format, ...) +void SetAssembleError(const char* format, ...) { va_list args; diff --git a/Core/MIPS/MIPSAsm.h b/Core/MIPS/MIPSAsm.h index 88a74bd9dc..90a945031e 100644 --- a/Core/MIPS/MIPSAsm.h +++ b/Core/MIPS/MIPSAsm.h @@ -8,7 +8,7 @@ namespace MIPSAsm bool MipsAssembleOpcode(const char* line, DebugInterface* cpu, u32 address, u32& dest); -typedef enum eMipsImmediateType { MIPS_NOIMMEDIATE, MIPS_IMMEDIATE5, +enum eMipsImmediateType { MIPS_NOIMMEDIATE, MIPS_IMMEDIATE5, MIPS_IMMEDIATE16, MIPS_IMMEDIATE20, MIPS_IMMEDIATE26 }; typedef struct {