summaryrefslogtreecommitdiff
path: root/src/variabledata.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/variabledata.h')
-rw-r--r--src/variabledata.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/variabledata.h b/src/variabledata.h
index 4f58c1fd..f73ebab2 100644
--- a/src/variabledata.h
+++ b/src/variabledata.h
@@ -72,14 +72,14 @@ private:
class FloatData : public VariableData
{
public:
- FloatData(float value) { mData = value; }
+ FloatData(double value) { mData = value; }
- float getData() const { return mData; }
+ double getData() const { return mData; }
int getType() const { return DATA_FLOAT; }
private:
- float mData;
+ double mData;
};
class BoolData : public VariableData