From eedbdeb11ecf14ee1b2faa9722d019bd262a46bf Mon Sep 17 00:00:00 2001
From: "Paul \"Dettorer\" Hervot"
Date: Sun, 29 Nov 2015 08:49:12 +0100
Subject: [PATCH] File_util: Remove an useless cast
---
src/common/file_util.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp
index b56e2ce54..5b21c8695 100644
--- a/src/common/file_util.cpp
+++ b/src/common/file_util.cpp
@@ -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);