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
reset internal_nconsumed_ptr before mem_scanf on msvc,
fix
#706
tags/20181228
nihuini
7 years ago
parent
fdb69378ac
commit
b2ffc339c0
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/net.cpp
+ 2
- 0
src/net.cpp
View File
@@ -241,6 +241,8 @@ int Net::load_param(FILE* fp)
#if _MSC_VER
static inline int mem_sscanf_with_n(int* _internal_nconsumed_ptr, const char*& ptr, const char* format, ...)
{
*_internal_nconsumed_ptr = 0;
va_list args;
va_start(args, format);
Write
Preview
Loading…
Cancel
Save