[GRASS-SVN] r42592 - grass/trunk/visualization/nviz/src
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jun 20 04:51:23 EDT 2010
Author: marisn
Date: 2010-06-20 08:51:23 +0000 (Sun, 20 Jun 2010)
New Revision: 42592
Modified:
grass/trunk/visualization/nviz/src/togl_flythrough.c
Log:
Fix NVIZ fly mode on 64bit nixes. Fixes #46. Thanks to Ken Kwasnicki.
Modified: grass/trunk/visualization/nviz/src/togl_flythrough.c
===================================================================
--- grass/trunk/visualization/nviz/src/togl_flythrough.c 2010-06-19 16:52:53 UTC (rev 42591)
+++ grass/trunk/visualization/nviz/src/togl_flythrough.c 2010-06-20 08:51:23 UTC (rev 42592)
@@ -316,7 +316,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