This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
nihui
/
ncnn
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
46
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
fix Multiplication result may overflow 'int' before it is converted to 'size_t'. (
#3757
)
tags/20220701
841973620
GitHub
4 years ago
parent
e62d674e5d
commit
a2e25d3fd3
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
tools/quantize/imreadwrite.h
+ 1
- 1
tools/quantize/imreadwrite.h
View File
@@ -164,7 +164,7 @@ struct Mat
size_t total() const
{
return cols * rows * c;
return
(size_t)
cols * rows * c;
}
uchar* data;
Write
Preview
Loading…
Cancel
Save