HomeFreeBSD

MFH: r432968

Description

MFH: r432968

multimedia/vdr-plugin-epgsearch: unbreak with clang 4.0

createcats.c:67:42: error: ordered comparison between pointer and zero ('char *' and 'int')

if (fgets(buffer, sizeof(buffer), f) > 0) {
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~

epgsearchext.c:1506:50: error: ordered comparison between pointer and zero ('char *' and 'int')

while (fgets(buffer, sizeof(buffer), f) > 0) {
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~

c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]

PR: 216217
Reported by: antoine (via exp-run)
Approved by: ports-secteam blanket

Details

Provenance
jbeichAuthored on
Parents
rP433027: MFH: r432967
Branches
Unknown
Tags
Unknown