Print

Print


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
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Fix compilation failure on 32 bit (ix86/arm32)

-- File Changes --

    M src/XrdOfs/XrdOfs.cc (2)
    M src/XrdSfs/XrdSfsInterface.cc (2)

-- Patch Links --

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

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