From f740fcd823e600cdc7c53b8bb5effe6f9615ab5c Mon Sep 17 00:00:00 2001 From: Christoph Hasse Date: Tue, 22 Dec 2020 10:11:39 +0100 Subject: [PATCH] try and fix ci-build 2/N --- src/nikonmn_int.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nikonmn_int.cpp b/src/nikonmn_int.cpp index 08f1d4b0..dbf0c2a5 100644 --- a/src/nikonmn_int.cpp +++ b/src/nikonmn_int.cpp @@ -45,6 +45,7 @@ #include #include #include +#include #include //for log, pow, abs // ***************************************************************************** @@ -2944,7 +2945,7 @@ zmountlens[] = { {0 , "", ""} //end of array }; - uint16_t lid = value.toLong(); + uint16_t lid = static_cast(value.toLong()); for(int i = 0; zmountlens[i].lid != 0; ++i){ if ( zmountlens[i].lid == lid ) return os << zmountlens[i].manuf << " " << zmountlens[i].lensname; }