diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2011-04-12 21:38:19 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2011-04-12 21:38:19 +0000 |
commit | 0de10d6b00163823de8fd0a6aa98c7bb130fa608 (patch) | |
tree | f963112cd660881d6e7a24cc1227c49b81e45e6d /gnu | |
parent | b8e52d1ec89088cdfac56aaa08a8e430b1d6d553 (diff) |
A few, hopefully last, NULL-as-an-integer misuses.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/gas/config/tc-m68k.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/gas/config/tc-m68k.c b/gnu/usr.bin/gas/config/tc-m68k.c index 954a3f95295..ed1479b8962 100644 --- a/gnu/usr.bin/gas/config/tc-m68k.c +++ b/gnu/usr.bin/gas/config/tc-m68k.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tc-m68k.c,v 1.5 2002/06/26 11:25:43 espie Exp $ */ +/* $OpenBSD: tc-m68k.c,v 1.6 2011/04/12 21:38:16 miod Exp $ */ /* tc-m68k.c All the m68020 specific stuff in one convenient, huge, slow to compile, easy to find file. @@ -1233,7 +1233,7 @@ char *instring; if (p == instring) { the_ins.error = "No operator"; - the_ins.opcode[0] = NULL; + the_ins.opcode[0] = 0; /* the_ins.numo=1; */ return; } @@ -1248,7 +1248,7 @@ char *instring; if (opcode == NULL) { the_ins.error = "Unknown operator"; - the_ins.opcode[0] = NULL; + the_ins.opcode[0] = 0; /* the_ins.numo=1; */ return; } |