[Bug 13268] New: [WARN] shifting a negative signed value is undefined

samba-bugs at samba.org samba-bugs at samba.org
Tue Feb 13 17:14:34 UTC 2018


https://bugzilla.samba.org/show_bug.cgi?id=13268

            Bug ID: 13268
           Summary: [WARN] shifting a negative signed value is undefined
           Product: rsync
           Version: 3.1.3
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
          Assignee: wayned at samba.org
          Reporter: ben.rubson at gmail.com
        QA Contact: rsync-qa at samba.org

Hi,

I'm getting the following warning while compiling with FreeBSD :

--- zlib/inflate.o ---
zlib/inflate.c:1528:61: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
    if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16;
                                                        ~~~ ^

# cc --version
FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM
3.8.0)
Target: x86_64-unknown-freebsd11.0
Thread model: posix

Thx !

Ben

-- 
You are receiving this mail because:
You are the QA Contact for the bug.



More information about the rsync mailing list