mirror of
https://git.freebsd.org/ports.git
synced 2025-07-10 13:59:22 -04:00
htmlsep.cxx:527:19: error: ordered comparison between pointer and zero ('int *' and 'int') if (heading >= 0) ~~~~~~~ ^ ~ PR: 216159 Reported by: antoine (via exp-run) Approved by: portmgr blanket
11 lines
394 B
C++
11 lines
394 B
C++
--- htmldoc/htmlsep.cxx.orig 2013-08-09 13:43:34 UTC
|
|
+++ htmldoc/htmlsep.cxx
|
|
@@ -524,7 +524,7 @@ write_doc(FILE **out, // I - Output
|
|
if (t->markup >= MARKUP_H1 && t->markup < (MARKUP_H1 + TocLevels) &&
|
|
htmlGetVariable(t, (uchar *)"_HD_OMIT_TOC") == NULL)
|
|
{
|
|
- if (heading >= 0)
|
|
+ if (*heading >= 0)
|
|
write_footer(out, *heading);
|
|
|
|
(*heading) ++;
|