Print

Print


  Branch: refs/heads/master
  Home:   https://github.com/xrootd/xrootd
  Commit: 351714c1b63743fdf526adacd9eb195c5f7692ea
      https://github.com/xrootd/xrootd/commit/351714c1b63743fdf526adacd9eb195c5f7692ea
  Author: Mattias Ellert <[log in to unmask]>
  Date:   2021-07-10 (Sat, 10 Jul 2021)

  Changed paths:
    M src/XrdOfs/XrdOfs.cc
    M src/XrdSfs/XrdSfsInterface.cc

  Log Message:
  -----------
  Fix compilation failure on 32 bit (ix86/arm32)

src/XrdOfs/XrdOfs.cc:
error: format '%ld' expects argument of type 'long int',
but argument 4 has type 'off_t' {aka 'long long int'} [-Werror=format=]

src/XrdSfs/XrdSfsInterface.cc:
Type changed from ssize_t (32/64 bits) to off_t (64 bits)
Change cast from (long) to (long long) and format from %ld to %lld


  Commit: 895d9df594e3dc34c07016a351b86b266adb6717
      https://github.com/xrootd/xrootd/commit/895d9df594e3dc34c07016a351b86b266adb6717
  Author: Andrew Hanushevsky <[log in to unmask]>
  Date:   2021-07-12 (Mon, 12 Jul 2021)

  Changed paths:
    M src/XrdOfs/XrdOfs.cc
    M src/XrdSfs/XrdSfsInterface.cc

  Log Message:
  -----------
  Merge pull request #1476 from ellert/format-32bit

Fix compilation failure on 32 bit (ix86/arm32)


Compare: https://github.com/xrootd/xrootd/compare/5602c2db1d57...895d9df594e3

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