Print

Print


~~~~
/builddir/build/BUILD/xrootd-5.0.1/src/Xrd/XrdProtLoad.cc:172:16: error: comparison is always true due to limited range of data type [-Werror=type-limits]
  172 |    while(*pVec != -2)
      |          ~~~~~~^~~~~
/builddir/build/BUILD/xrootd-5.0.1/src/Xrd/XrdProtLoad.cc:173:20: error: comparison is always false due to limited range of data type [-Werror=type-limits]
  173 |         {if (*pVec == -1)
      |              ~~~~~~^~~~~
~~~~
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Fix ARM, PPC and S390X compilation (char is unsigned by default)

-- File Changes --

    M src/Xrd/XrdProtLoad.cc (2)
    M src/Xrd/XrdProtLoad.hh (2)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/1274.patch
https://github.com/xrootd/xrootd/pull/1274.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/1274

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