mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 04:36:36 +08:00
Merge pull request #12655 from alalek:fix_printf_format_warning
This commit is contained in:
commit
852f061b26
@ -383,9 +383,9 @@ public:
|
||||
std::shared_ptr<InferenceEngine::CNNLayer> ieLayer(new InferenceEngine::CNNLayer(lp));
|
||||
|
||||
CV_Assert(!_order.empty());
|
||||
ieLayer->params["order"] = format("%d", _order[0]);
|
||||
ieLayer->params["order"] = format("%zu", _order[0]);
|
||||
for (int i = 1; i < _order.size(); ++i)
|
||||
ieLayer->params["order"] += format(",%d", _order[i]);
|
||||
ieLayer->params["order"] += format(",%zu", _order[i]);
|
||||
|
||||
return Ptr<BackendNode>(new InfEngineBackendNode(ieLayer));
|
||||
#endif // HAVE_INF_ENGINE
|
||||
|
Loading…
Reference in New Issue
Block a user