File_util: Remove an useless cast
This commit is contained in:
parent
af4a49ad23
commit
eedbdeb11e
1 changed files with 1 additions and 1 deletions
|
@ -487,7 +487,7 @@ unsigned ScanDirectoryTree(const std::string &directory, FSTEntry& parent_entry)
|
||||||
entry.isDirectory = true;
|
entry.isDirectory = true;
|
||||||
// is a directory, lets go inside
|
// is a directory, lets go inside
|
||||||
entry.size = ScanDirectoryTree(entry.physicalName, entry);
|
entry.size = ScanDirectoryTree(entry.physicalName, entry);
|
||||||
*num_entries_out += (int)entry.size;
|
*num_entries_out += entry.size;
|
||||||
} else { // is a file
|
} else { // is a file
|
||||||
entry.isDirectory = false;
|
entry.isDirectory = false;
|
||||||
entry.size = GetSize(entry.physicalName);
|
entry.size = GetSize(entry.physicalName);
|
||||||
|
|
Loading…
Reference in a new issue