From 29f102cdf1f06a11c02603486c518f2a9ecba6de Mon Sep 17 00:00:00 2001 From: Peter De Wachter Date: Sat, 23 Jan 2016 20:18:41 +0100 Subject: [PATCH] emitString: comparison between pointer and integer --- emitStuff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emitStuff.c b/emitStuff.c index c100d6d..3786b3e 100644 --- a/emitStuff.c +++ b/emitStuff.c @@ -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++;