File_util: Remove an useless cast

This commit is contained in:
Paul "Dettorer" Hervot 2015-11-29 08:49:12 +01:00 committed by Paul Dettorer Hervot
parent af4a49ad23
commit eedbdeb11e

View file

@ -487,7 +487,7 @@ unsigned ScanDirectoryTree(const std::string &directory, FSTEntry& parent_entry)
entry.isDirectory = true;
// is a directory, lets go inside
entry.size = ScanDirectoryTree(entry.physicalName, entry);
*num_entries_out += (int)entry.size;
*num_entries_out += entry.size;
} else { // is a file
entry.isDirectory = false;
entry.size = GetSize(entry.physicalName);