summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-04 15:39:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-04 15:40:22 +0100
commit45df5281f030276c06d3e16a07e165c28870c2db (patch)
treed030a6ebe9b54b3609d6dee3477751a9af676255 /chart2/source
parentff8036df5c5575503dc30d255dfbe99cc637c510 (diff)
warning C4305: '+=' : truncation from 'double' to 'float'
Change-Id: I91fad4e47788c1f56cbd835debe43f3e3723aa4f
Diffstat (limited to 'chart2/source')
-rwxr-xr-xchart2/source/view/main/OpenGLRender.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/main/OpenGLRender.cxx b/chart2/source/view/main/OpenGLRender.cxx
index f6a473af4fb0..5e1f5dda1dd0 100755
--- a/chart2/source/view/main/OpenGLRender.cxx
+++ b/chart2/source/view/main/OpenGLRender.cxx
@@ -62,7 +62,7 @@ using namespace std;
#define WGL_SAMPLES_ARB 0x2042
#endif
-#define Z_STEP 0.001
+#define Z_STEP 0.001f
int static checkGLError(const char *file, int line)
{