gcc 4.2 warning fixes

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@501 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-06-29 19:18:51 +00:00
parent 385760631f
commit d95259bdaa
5 changed files with 20 additions and 16 deletions

View file

@ -288,7 +288,7 @@ int OpJsr(int op)
// --------------------- Opcodes 0x50c8+ ---------------------
// ARM version of 68000 condition codes:
static char *Cond[16]=
static const char * const Cond[16]=
{
"", "", "hi","ls","cc","cs","ne","eq",
"vc","vs","pl","mi","ge","lt","gt","le"
@ -402,7 +402,7 @@ int OpBranch(int op)
int size=0,use=0,checkpc=0;
int offset=0;
int cc=0;
char *asr_r11="";
const char *asr_r11="";
offset=(char)(op&0xff);
cc=(op>>8)&15;