forked from pool/htdig
- htdig-gcc7.patch: FIx build failure with gcc7 OBS-URL: https://build.opensuse.org/request/show/485703 OBS-URL: https://build.opensuse.org/package/show/server:search/htdig?expand=0&rev=8
21 lines
622 B
Diff
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;
|
|
}
|