From ffee43f437d5a09d0dd5fe5839d5a8c5b4e247bb Mon Sep 17 00:00:00 2001 From: lluis Date: Thu, 31 Jul 2014 14:32:37 +0200 Subject: [PATCH] fix warnings from MSVC --- modules/text/samples/end_to_end_recognition.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/text/samples/end_to_end_recognition.cpp b/modules/text/samples/end_to_end_recognition.cpp index 85a42eec4..153e5391a 100644 --- a/modules/text/samples/end_to_end_recognition.cpp +++ b/modules/text/samples/end_to_end_recognition.cpp @@ -112,7 +112,7 @@ int main(int argc, char* argv[]) image.copyTo(out_img); image.copyTo(out_img_detection); float scale_img = 600.f/image.rows; - float scale_font = (float)(2-scale_img)/1.4; + float scale_font = (float)(2-scale_img)/1.4f; vector words_detection; t_r = (double)getTickCount();