Fix some const char * conversion warnings.

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

No files matched your search

+1 -1
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++;
+3 -3
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;