File htdig-gcc7.patch of Package htdig

Index: htdig-3.2.0b6/htdig/Parsable.cc
===================================================================
--- htdig-3.2.0b6.orig/htdig/Parsable.cc
+++ htdig-3.2.0b6/htdig/Parsable.cc
@@ -74,7 +74,7 @@ Parsable::addString(Retriever& retriever
 	    retriever.got_word(w, wordindex++, slot); // slot for img_alt
 	w = HtWordToken(0);
     }
-    w = '\0';
+    w = NULL;
 }
 
 //*****************************************************************************
@@ -92,5 +92,5 @@ Parsable::addKeywordString(Retriever& re
 	    retriever.got_word(w, wordindex++, 9);
 	w = HtWordToken(0);
     }
-    w = '\0';
+    w = NULL;
 }
openSUSE Build Service is sponsored by