mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-21 09:21:02 +00:00
Fix some const char * conversion warnings.
This commit is contained in:
parent
6457776adb
commit
8d537f014f
@ -198,7 +198,7 @@ bool CMipsInstruction::LoadEncoding(const tMipsOpcode& SourceOpcode, char* Line)
|
||||
int RetLen;
|
||||
bool Immediate = false;
|
||||
|
||||
char* SourceEncoding = SourceOpcode.encoding;
|
||||
const char *SourceEncoding = SourceOpcode.encoding;
|
||||
char* OriginalLine = Line;
|
||||
|
||||
while (*Line == ' ' || *Line == '\t') Line++;
|
||||
|
@ -4,14 +4,14 @@ namespace MIPSAsm
|
||||
{
|
||||
|
||||
typedef struct {
|
||||
char* name;
|
||||
char* encoding;
|
||||
const char *name;
|
||||
const char *encoding;
|
||||
unsigned int destencoding;
|
||||
unsigned int flags;
|
||||
} tMipsOpcode;
|
||||
|
||||
typedef struct {
|
||||
char* name;
|
||||
const char *name;
|
||||
short num;
|
||||
short len;
|
||||
} tMipsRegister;
|
||||
|
Loading…
x
Reference in New Issue
Block a user