summaryrefslogtreecommitdiff
path: root/test/controls/control_info.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/controls/control_info.cpp')
-rw-r--r--test/controls/control_info.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/controls/control_info.cpp b/test/controls/control_info.cpp
index 8cda860b..faefaaa4 100644
--- a/test/controls/control_info.cpp
+++ b/test/controls/control_info.cpp
@@ -32,7 +32,7 @@ protected:
return TestFail;
}
- if (info.min().getInt() != 0 || info.max().getInt() != 0) {
+ if (info.min().get<int>() != 0 || info.max().get<int>() != 0) {
cout << "Invalid control range for Brightness" << endl;
return TestFail;
}
@@ -50,7 +50,7 @@ protected:
return TestFail;
}
- if (info.min().getInt() != 10 || info.max().getInt() != 200) {
+ if (info.min().get<int>() != 10 || info.max().get<int>() != 200) {
cout << "Invalid control range for Contrast" << endl;
return TestFail;
}