diff options
author | Julien Cristau <jcristau@debian.org> | 2008-10-26 13:17:31 +0100 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2008-10-26 13:17:31 +0100 |
commit | 102c4dac7c521941f52652152b1660cd7f559d56 (patch) | |
tree | fa1f6cb9b24a75adc07724fcde5106f8ae468d21 /hw/xfree86/x86emu | |
parent | ffaaa1a198a77eb6800c08d4613ee1cc0b068ba0 (diff) |
x86emu: fix sparse warnings
ops2.c:113:18: warning: Using plain integer as NULL pointer
ops2.c:207:18: warning: Using plain integer as NULL pointer
Diffstat (limited to 'hw/xfree86/x86emu')
-rw-r--r-- | hw/xfree86/x86emu/ops2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xfree86/x86emu/ops2.c b/hw/xfree86/x86emu/ops2.c index a1eda76d7..39bd0411d 100644 --- a/hw/xfree86/x86emu/ops2.c +++ b/hw/xfree86/x86emu/ops2.c @@ -110,7 +110,7 @@ Handles opcode 0x0f,0x80-0x8F static void x86emuOp2_long_jump(u8 op2) { s32 target; - char *name = 0; + char *name = NULL; int cond = 0; /* conditional jump to word offset. */ @@ -204,7 +204,7 @@ static void x86emuOp2_set_byte(u8 op2) int mod, rl, rh; uint destoffset; u8 *destreg; - char *name = 0; + char *name = NULL; int cond = 0; START_OF_INSTR(); |