Print

Print


  Branch: refs/heads/master
  Home:   https://github.com/xrootd/xrootd
  Commit: b29d0f021275d105f719dbefb07c8dfe17b95809
      https://github.com/xrootd/xrootd/commit/b29d0f021275d105f719dbefb07c8dfe17b95809
  Author: Mattias Ellert <[log in to unmask]>
  Date:   2021-12-11 (Sat, 11 Dec 2021)

  Changed paths:
    M src/XrdNet/XrdNetPMarkCfg.cc

  Log Message:
  -----------
  Fix compilation when char is unsigned (armv7hl, aarch64, ppc64le, s390x)

../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;
      |            ~~~~~~~~^~~


  Commit: d9c52f3c09b34f58c835f1a9d6b7414827d2f9fb
      https://github.com/xrootd/xrootd/commit/d9c52f3c09b34f58c835f1a9d6b7414827d2f9fb
  Author: Andrew Hanushevsky <[log in to unmask]>
  Date:   2021-12-12 (Sun, 12 Dec 2021)

  Changed paths:
    M src/XrdNet/XrdNetPMarkCfg.cc

  Log Message:
  -----------
  Merge pull request #1570 from ellert/comp-always-false

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


Compare: https://github.com/xrootd/xrootd/compare/3c9b80fb8164...d9c52f3c09b3

########################################################################
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