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>0;sect=sect->next) + for (;sect!=NULL;sect=sect->next) { if (!WriteRtfSection(rtf,sect)) goto WRITE_END; //write section properties // int sectNum=0; @@ -897,7 +897,7 @@ // if (curChar->fontNum>=rtf->page->fontsUsed || (prevChar&&prevChar->fontNum>=rtf->page->fontsUsed)) return TRUE; // extract value for comparison - if (prevChar>0) { + if (prevChar!=NULL) { // lstrcpy(PrevTypeFace,TerFont[PrevFont].TypeFace); PrevFamily=rtf->table[rtf->page->GetFontByNum(prevChar->fontNum)]; PrevStyle=prevChar->fontAttribs;