onnxruntime
f1528ea5 - Fix arithmetic overflow warning. (#12712)

Commit
3 years ago
Fix arithmetic overflow warning. (#12712) Fix arithmetic overflow warning. Suggested fix by static analysis tool Arithmetic overflow: Using operator '+' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2).
Author
Pranav Sharma
Parents
Loading