From 3d7feb7cce8a11e486ee9bb2cd6db4870732f2af Mon Sep 17 00:00:00 2001 From: Evgeny Proydakov Date: Fri, 9 Oct 2020 16:49:12 +0300 Subject: [PATCH] Fixed compile warning for clang linux onnx2ncnn.cpp [-Wformat] (#2185) --- tools/onnx/onnx2ncnn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/onnx/onnx2ncnn.cpp b/tools/onnx/onnx2ncnn.cpp index 7b687d192..2743c9285 100644 --- a/tools/onnx/onnx2ncnn.cpp +++ b/tools/onnx/onnx2ncnn.cpp @@ -3775,7 +3775,7 @@ int main(int argc, char** argv) } else if (attr.type() == 2) { - fprintf(stderr, " # %s=%lld\n", attr.name().c_str(), attr.i()); + fprintf(stderr, " # %s=%lld\n", attr.name().c_str(), (long long)attr.i()); } else if (attr.type() == 3) {