[GRASS-SVN] r42593 -
grass/branches/develbranch_6/visualization/nviz/src
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jun 20 05:09:35 EDT 2010
Author: marisn
Date: 2010-06-20 09:09:35 +0000 (Sun, 20 Jun 2010)
New Revision: 42593
Modified:
grass/branches/develbranch_6/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/develbranch_6/visualization/nviz/src/togl_flythrough.c
===================================================================
--- grass/branches/develbranch_6/visualization/nviz/src/togl_flythrough.c 2010-06-20 08:51:23 UTC (rev 42592)
+++ grass/branches/develbranch_6/visualization/nviz/src/togl_flythrough.c 2010-06-20 09:09:35 UTC (rev 42593)
@@ -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