fixed comparisons using '\0' instead of NULL
diff --git a/src/packages/xdc/runtime/Text.c b/src/packages/xdc/runtime/Text.c
index 4631de8..810c446 100644
--- a/src/packages/xdc/runtime/Text.c
+++ b/src/packages/xdc/runtime/Text.c
@@ -271,7 +271,7 @@
         const Text_Node *node;
         UInt16 index;
         CString s = Text_ropeText(rope);
-        if (s != '\0') {
+        if (s != NULL) {
             stack[tos] = s;
             tos++;
             break;
@@ -316,7 +316,7 @@
         res = len - 1U;
     }
 
-    if (b != '\0') {
+    if (b != NULL) {
         *bufp += res;
     }