SHA256
1
0
forked from pool/htdig
Files
htdig/htdig-gcc7.patch

21 lines
622 B
Diff

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;
}