<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Fix "error: ordered comparison between pointer and zero"
--- cuneiform_src/Kern/ced/sources/main/ced_func_rtf.cpp.orig	2011-04-19 07:49:57.000000000 -0500
+++ cuneiform_src/Kern/ced/sources/main/ced_func_rtf.cpp	2018-07-17 09:18:34.000000000 -0500
@@ -212,7 +212,7 @@
     }
 */
     // write the text lines
-	for (;sect&gt;0;sect=sect-&gt;next)
+	for (;sect!=NULL;sect=sect-&gt;next)
 	{
 		if (!WriteRtfSection(rtf,sect)) goto WRITE_END; //write section properties
 		//	int sectNum=0;
@@ -897,7 +897,7 @@
 //    if (curChar-&gt;fontNum&gt;=rtf-&gt;page-&gt;fontsUsed || (prevChar&amp;&amp;prevChar-&gt;fontNum&gt;=rtf-&gt;page-&gt;fontsUsed)) return TRUE;
 
     // extract value for comparison
-    if (prevChar&gt;0) {
+    if (prevChar!=NULL) {
 //       lstrcpy(PrevTypeFace,TerFont[PrevFont].TypeFace);
        PrevFamily=rtf-&gt;table[rtf-&gt;page-&gt;GetFontByNum(prevChar-&gt;fontNum)];
        PrevStyle=prevChar-&gt;fontAttribs;
</pre></body></html>