Browse Source

Fixed compile warning for clang linux onnx2ncnn.cpp [-Wformat] (#2185)

tags/20201208
Evgeny Proydakov GitHub 5 years ago
parent
commit
3d7feb7cce
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tools/onnx/onnx2ncnn.cpp

+ 1
- 1
tools/onnx/onnx2ncnn.cpp View File

@@ -3775,7 +3775,7 @@ int main(int argc, char** argv)
} }
else if (attr.type() == 2) 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) else if (attr.type() == 3)
{ {


Loading…
Cancel
Save