Print

Print


../xrootd-5.4.0/src/XrdNet/XrdNetPMarkCfg.cc: In static member function 'static XrdNetPMark* XrdNetPMarkCfg::Config(XrdSysError*, XrdScheduler*, XrdSysTrace*, bool&)':
../xrootd-5.4.0/src/XrdNet/XrdNetPMarkCfg.cc:271:16: error: comparison is always false due to limited range of data type [-Werror=type-limits]
  271 |    if (useFFly < 0)
      |        ~~~~~~~~^~~
../xrootd-5.4.0/src/XrdNet/XrdNetPMarkCfg.cc: In static member function 'static int XrdNetPMarkCfg::Parse(XrdSysError*, XrdOucStream&)':
../xrootd-5.4.0/src/XrdNet/XrdNetPMarkCfg.cc:1037:20: error: comparison is always false due to limited range of data type [-Werror=type-limits]
 1037 |        if (useFFly < 0) useFFly = 1;
      |            ~~~~~~~~^~~
You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd/pull/1570

-- Commit Summary --

  * Fix compilation when char is unsigned (armv7hl, aarch64, ppc64le, s390x)

-- File Changes --

    M src/XrdNet/XrdNetPMarkCfg.cc (2)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/1570.patch
https://github.com/xrootd/xrootd/pull/1570.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/1570

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1