summaryrefslogtreecommitdiff
path: root/test/controls/control_value.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/controls/control_value.cpp')
-rw-r--r--test/controls/control_value.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/controls/control_value.cpp b/test/controls/control_value.cpp
index 397c43f7..a1ffa842 100644
--- a/test/controls/control_value.cpp
+++ b/test/controls/control_value.cpp
@@ -27,7 +27,7 @@ protected:
<< " Bool: " << boolean.toString()
<< endl;
- if (integer.get<int>() != 1234) {
+ if (integer.get<int32_t>() != 1234) {
cerr << "Failed to get Integer" << endl;
return TestFail;
}
@@ -56,8 +56,8 @@ protected:
return TestFail;
}
- value.set<int>(10);
- if (value.get<int>() != 10) {
+ value.set<int32_t>(10);
+ if (value.get<int32_t>() != 10) {
cerr << "Failed to get Integer" << endl;
return TestFail;
}