Mailinglist Archive: opensuse-bugs (7967 mails)

< Previous Next >
[Bug 241838] New: arts-1.5.6-2: warning: right shift count >= width of type
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 2 Feb 2007 14:37:33 -0700 (MST)
  • Message-id: <bug-241838-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=241838

Summary: arts-1.5.6-2: warning: right shift count >= width of
type
Product: openSUSE 10.3
Version: unspecified
Platform: All
OS/Version: SuSE Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Other
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx


I just tried to compile package arts-1.5.6-2
with GNU compiler version 4.3 snapshot 20070126.

The compiler said

/usr/src/packages/BUILD/arts-1.5.6/flow/gsl/gslfilehash.c:48: warning: right
shift count >= width of type

The source code is

h = HASH_LONG (hfile->mtime);

I agree with the compiler. hfile->mtime has type int, which is 32 bits.
Suggest code rework.


--
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, or are watching someone who is.

< Previous Next >
Follow Ups