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; 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);