summaryrefslogtreecommitdiffhomepage
path: root/compat/camera-names.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/camera-names.cpp')
-rw-r--r--compat/camera-names.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/camera-names.cpp b/compat/camera-names.cpp
index 5d190943..8eef6d61 100644
--- a/compat/camera-names.cpp
+++ b/compat/camera-names.cpp
@@ -76,7 +76,7 @@ std::vector<std::tuple<QString, int>> get_camera_names()
{
// Display the name in your UI somehow.
QString str((QChar*)var.bstrVal, int(std::wcslen(var.bstrVal)));
- ret.push_back({ str, ret.size() });
+ ret.push_back({ str, (int)ret.size() });
}
VariantClear(&var);
pPropBag->Release();