From ad0d28080cdd8152c006dd4590ccb8038036ccd7 Mon Sep 17 00:00:00 2001 From: Andreas Huggel Date: Wed, 7 Mar 2012 09:56:30 +0000 Subject: [PATCH] #809: Applied patch by Thomas Beutlich to fix Windows ccompilation error. --- src/nikonmn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nikonmn.cpp b/src/nikonmn.cpp index 079c3b2d..e2b5df53 100644 --- a/src/nikonmn.cpp +++ b/src/nikonmn.cpp @@ -2478,7 +2478,7 @@ fmountlens[] = { oss.copyfmt(os); char sign = value.toLong() < 0 ? '-' : '+'; long h = long(abs(value.toFloat())/60.0); - long min = abs(value.toFloat()) - h*60; + long min = long(abs(value.toFloat()) - h*60); os << std::fixed << "UTC " << sign << std::setw(2) << std::setfill('0') << h << ":" << std::setw(2) << std::setfill('0') << min; os.copyfmt(oss);