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.