diff options
author | 2016-01-30 20:53:28 +0100 | |
---|---|---|
committer | 2016-01-30 20:53:28 +0100 | |
commit | 5f3e6c8bdc4784d55615b9340e5e09a2214d2ae2 (patch) | |
tree | aa538782493d424e4f48210c407773707704ebf1 | |
parent | 42622cfe8effd40c0bf63030738e43feaa6999d6 (diff) |
fixed clang compile of m68kmake(nw)
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | src/devices/cpu/m68000/m68kmake.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore index e3efcc2cd0a..0edfb01a5b7 100644 --- a/.gitignore +++ b/.gitignore @@ -30,4 +30,5 @@ regtests/jedutil/output /src/devices/cpu/m68000/m68kops.cpp /src/devices/cpu/m68000/m68kops.h /src/devices/cpu/m68000/m68kmake.* +/src/devices/cpu/m68000/m68kmake !/src/devices/cpu/m68000/m68kmake.cpp
\ No newline at end of file diff --git a/src/devices/cpu/m68000/m68kmake.cpp b/src/devices/cpu/m68000/m68kmake.cpp index f36797d76ba..941ae23f0aa 100644 --- a/src/devices/cpu/m68000/m68kmake.cpp +++ b/src/devices/cpu/m68000/m68kmake.cpp @@ -670,7 +670,7 @@ static opcode_struct* find_opcode(char* name, int size, char* spec_proc, char* s opcode_struct* op; - for(op = g_opcode_input_table;op->name != nullptr;op++) + for(op = g_opcode_input_table;op->name[0] != 0;op++) { if( strcmp(name, op->name) == 0 && (size == op->size) && |