samba-bugs at samba.org
2018-Feb-13 17:14 UTC
[Bug 13268] New: [WARN] shifting a negative signed value is undefined
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.
samba-bugs at samba.org
2018-Mar-26 02:13 UTC
[Bug 13268] [WARN] shifting a negative signed value is undefined
https://bugzilla.samba.org/show_bug.cgi?id=13268
Wayne Davison <wayned at samba.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #1 from Wayne Davison <wayned at samba.org> ---
I've checked-in a fix for this into git (using the same change that newer
zlib
versions use).
--
You are receiving this mail because:
You are the QA Contact for the bug.
samba-bugs at samba.org
2018-Mar-26 06:04 UTC
[Bug 13268] [WARN] shifting a negative signed value is undefined
https://bugzilla.samba.org/show_bug.cgi?id=13268 --- Comment #2 from Ben RUBSON <ben.rubson at gmail.com> --- Many thanks Wayne ! -- You are receiving this mail because: You are the QA Contact for the bug.