mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
Fix some const char * conversion warnings.
This commit is contained in:
1 parent
6457776adb
commit
8d537f014f
2 files changed
+4
-4
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user