Fix some const char * conversion warnings.

This commit is contained in:
Unknown W. Brackets 2013-09-01 10:25:20 -07:00
parent 6457776adb
commit 8d537f014f
2 changed files with 4 additions and 4 deletions

View File

@ -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++;

View File

@ -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;