Fix symbolmap loading issue on MSVC 2015.
This commit is contained in:
parent
77f0de9b63
commit
936ccbf18a
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ bool SymbolMap::LoadSymbolMap(const char *filename) {
|
|||
SymbolType type;
|
||||
char name[128] = {0};
|
||||
|
||||
if (sscanf(line, ".module %x %08x %08x %127c", &moduleIndex, &address, &size, name) == 4) {
|
||||
if (sscanf(line, ".module %x %08x %08x %127c", &moduleIndex, &address, &size, name) >= 3) {
|
||||
// Found a module definition.
|
||||
ModuleEntry mod;
|
||||
mod.index = moduleIndex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue