[Bug 204914] New: digikamimageplugins-0.8.2-3: integer operation result is out of range
https://bugzilla.novell.com/show_bug.cgi?id=204914 Summary: digikamimageplugins-0.8.2-3: integer operation result is out of range Product: openSUSE 10.2 Version: Alpha 4 Platform: All OS/Version: SuSE Linux 10.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de I just tried to compile the package digikamimageplugins-0.8.2-3 with the Intel C compiler. The compiler said blurfx.cpp(1197): warning #61: integer operation result is out of range The source code is RandNumber = abs( (int)((rand() + 1) * ((double)counter / (RAND_MAX + 1))) ); I agree with the compiler. Suggest new code RandNumber = abs( (int)((rand() + 1) * ((double)counter / (1 + (double) RAND_MAX))) ); -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=204914 stbinner@suse.de changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |stbinner@suse.de |screening@forge.provo.novell| |.com | Status|NEW |ASSIGNED Component|Basesystem |KDE -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=204914 stbinner@suse.de changed: What |Removed |Added ---------------------------------------------------------------------------- QAContact|qa@suse.de |kde-maintainers@suse.de -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=204914 stbinner@suse.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #1 from stbinner@suse.de 2006-09-12 07:06 MST ------- Fixed in package and upstream. -- 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.
participants (1)
-
bugzilla_noreply@novell.com