summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2011-04-12 21:38:19 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2011-04-12 21:38:19 +0000
commit0de10d6b00163823de8fd0a6aa98c7bb130fa608 (patch)
treef963112cd660881d6e7a24cc1227c49b81e45e6d /gnu
parentb8e52d1ec89088cdfac56aaa08a8e430b1d6d553 (diff)
A few, hopefully last, NULL-as-an-integer misuses.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gas/config/tc-m68k.c6
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;
}