[Marble-bugs] [marble] [Bug 339573] New: src/lib/astro/eclsolar.cpp:175: possible bad assignment ?

dcb314 at hotmail.com dcb314 at hotmail.com
Wed Oct 1 14:32:06 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=339573

            Bug ID: 339573
           Summary: src/lib/astro/eclsolar.cpp:175: possible bad
                    assignment ?
           Product: marble
           Version: 1.10 (KDE 4.15)
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: marble-bugs at kde.org
          Reporter: dcb314 at hotmail.com

src/lib/astro/eclsolar.cpp:175:28: warning: implicit conversion from 'double'
to 'int' changes value from 0.01 to 0 [-Wliteral-conversion]

  if (s < 0.01) eb_cstep = 0.01;

$ fgrep eb_cstep `find ../BUILD/marble-4.14.1 -name \*.h -print`
../BUILD/marble-4.14.1/src/lib/astro/eclsolar.h:      int eb_cstep;   // step
width in minutes used for central eclipse output
$ 



Reproducible: Always

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Marble-bugs mailing list