1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-01-13 07:19:26 +00:00

ICL1900: Removed compiler warnings.

This commit is contained in:
Richard Cornwell 2021-04-11 22:52:58 -04:00
parent e560ca4a57
commit c350719394

View File

@ -636,7 +636,7 @@ find_opcode(char *op, int *val)
return v;
}
for(i = 0; i <= 0177; i++) {
if (ops[i].name != '\0' && sim_strcasecmp(op, ops[i].name) == 0)
if (ops[i].name != NULL && sim_strcasecmp(op, ops[i].name) == 0)
return i;
}
for(i = 0; i < 8; i++) {