[Bug 351517] New: quagga-0.99.9-23: bad left shift count
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=351517 Summary: quagga-0.99.9-23: bad left shift count Product: openSUSE 10.3 Version: Final Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just tried to compile the package quagga-0.99.9-23 The compiler said memory.c:504: warning: left shift count >= width of type The source code is if (bytes & (1 << (sizeof (unsigned long) >= 8 ? 39 : 0))) t++; I agree with the compiler. Suggest new code if (bytes & (1UL << ((sizeof (unsigned long) >= 8) ? 39 : 0))) t++; -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=351517
Mark Gordon
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=351517
User prusnak@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=351517#c1
Pavol Rusnak
participants (1)
-
bugzilla_noreply@novell.com