Ticket #414 (new defect)

Opened 8 years ago

typo in src/data_sources/q2ew/comserv/util/seedutil.c

Reported by: baker Owned by: somebody
Priority: trivial Milestone: All Platforms
Component: ALL modules Version: 7.8
Keywords: q2ew Cc:

Description

seedutil.c(566): warning #2259: non-pointer conversion from "double" to "long" may lose significant bits
                                dbadj = dbadj * 2.0 ;
                                      ^

Here's the fix:

--- src/data_sources/q2ew/comserv/util/seedutil.c
+++ src/data_sources/q2ew/comserv/util/seedutil.c       
@@ -565,3 +565,3 @@
                             {
-                              dbadj = dbadj * 2.0 ;
+                              dbadj = dbadj * 2 ;
                               i = i + 6 ;
Note: See TracTickets for help on using tickets.