From d7272f76fb5559c215297012e1c97fd102172119 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Mon, 19 Nov 2018 19:33:56 +0000 Subject: [PATCH] dnn: fix format --- modules/dnn/src/layers/blank_layer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/dnn/src/layers/blank_layer.cpp b/modules/dnn/src/layers/blank_layer.cpp index 178a2a4f2d..1eb149b3d1 100644 --- a/modules/dnn/src/layers/blank_layer.cpp +++ b/modules/dnn/src/layers/blank_layer.cpp @@ -119,8 +119,8 @@ public: lp.precision = InferenceEngine::Precision::FP32; std::shared_ptr ieLayer(new InferenceEngine::SplitLayer(lp)); #if INF_ENGINE_VER_MAJOR_GT(INF_ENGINE_RELEASE_2018R3) - ieLayer->params["axis"] = format("%d", input->dims.size() - 1); - ieLayer->params["out_sizes"] = format("%d", input->dims[0]); + ieLayer->params["axis"] = format("%d", (int)input->dims.size() - 1); + ieLayer->params["out_sizes"] = format("%d", (int)input->dims[0]); #endif return Ptr(new InfEngineBackendNode(ieLayer)); #endif // HAVE_INF_ENGINE