[GRASS-SVN] r42594 - grass/branches/releasebranch_6_4/visualization/nviz/src

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 20 05:25:44 EDT 2010


Author: marisn
Date: 2010-06-20 09:25:44 +0000 (Sun, 20 Jun 2010)
New Revision: 42594

Modified:
   grass/branches/releasebranch_6_4/visualization/nviz/src/togl_flythrough.c
Log:
Fix NVIZ fly mode on 64bit nixes. Fixes #46. Thanks to Ken Kwasnicki. (merge from trunk r42592)

Modified: grass/branches/releasebranch_6_4/visualization/nviz/src/togl_flythrough.c
===================================================================
--- grass/branches/releasebranch_6_4/visualization/nviz/src/togl_flythrough.c	2010-06-20 09:09:35 UTC (rev 42593)
+++ grass/branches/releasebranch_6_4/visualization/nviz/src/togl_flythrough.c	2010-06-20 09:25:44 UTC (rev 42594)
@@ -317,7 +317,7 @@
     struct timeval tv;
 
     gettimeofday(&tv, NULL);
-    return ((float)tv.tv_sec + ((float)tv.tv_usec / 1000000.0));
+    return ((double)tv.tv_sec + ((double)tv.tv_usec / 1000000.0));
 #endif
 }
 



More information about the grass-commit mailing list