emitString: comparison between pointer and integer

This commit is contained in:
Peter De Wachter 2016-01-23 20:18:41 +01:00
parent deb5d06fba
commit 29f102cdf1
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ emitString(stringType *string)
nuls in strings, so to speak. We assume that the character 0xFF is not
likely to be needed since ASCII (and ATASCII) is a seven bit character
code. */
while (*string != NULL)
while (*string != 0)
if ((*string & 0xFF) == 0xFF) {
emitByte('\0');
string++;