mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-24 06:48:46 +00:00
fix something
This commit is contained in:
parent
ac14493234
commit
44b06b11de
@ -553,9 +553,9 @@ static void DecodeIM(int constsize,int sxt,int type) {
|
||||
if (i!=0 && symbolic!=0) {
|
||||
strcpy(da->result+nresult,name); nresult+=i; }
|
||||
else if (type==IMU || type==IMS || type==IM2 || data>=0 || data<NEGLIMIT)
|
||||
nresult+=sprintf(da->result+nresult,"0x"LFMT,data);
|
||||
nresult+=sprintf(da->result+nresult,""LFMT,data);
|
||||
else
|
||||
nresult+=sprintf(da->result+nresult,"-0x"LFMT,-data);
|
||||
nresult+=sprintf(da->result+nresult,"-"LFMT,-data);
|
||||
if (addcomment && comment[0]!='\0') strcpy(da->comment,comment);
|
||||
};
|
||||
};
|
||||
@ -576,7 +576,7 @@ static void DecodeVX(void) {
|
||||
if (mode>=DISASM_FILE && da->error==DAE_NOERR) {
|
||||
if ((data & 0x00008000)!=0 && memicmp("VxDCall",da->result,7)==0)
|
||||
memcpy(da->result,lowercase?"vxdjump":"VxDJump",7);
|
||||
nresult+=sprintf(da->result+nresult,"0x"LFMT,data);
|
||||
nresult+=sprintf(da->result+nresult,""LFMT,data);
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user