fixed clang compile of m68kmake(nw)

This commit is contained in:
Miodrag Milanovic 2016-01-30 20:53:28 +01:00
parent 42622cfe8e
commit 5f3e6c8bdc
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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) &&