Bugzilla – Bug 449645
ksimus-0.3.6.2-254.17: overflow in implicit constant conversion
Last modified: 2009-02-05 16:53:15 UTC
I just tried to compile Open Suse Linux factory package ksimus-0.3.6.2-254.17 and the compiler said /usr/src/packages/BUILD/ksimus-floatingpoint-0.3.6/ksimus-floatingpoint/random.cpp:269: warning: overflow in implicit constant conversion The source code is m_seed->setMaxValue(MAX_SEED); but #define MAX_SEED LONG_MAX and setMaxValue only accepts an int. I agree with the compiler. Suggest code rework.
. *** This bug has been marked as a duplicate of bug 442933 ***