mirror of
https://github.com/opencv/opencv.git
synced 2024-11-30 14:29:49 +08:00
dnn: fix printf format warning
This commit is contained in:
parent
d8d025c33b
commit
3eec8fd0eb
@ -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