From c18a0ae3a52bfd419adae5d57c946525a5b44462 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sun, 28 Jun 2015 21:02:06 +0100 Subject: [PATCH] Revert "Attempted fix for building with GCC." This reverts commit a28955e87c887193755f249cc31fc5a59349c8ee. --- src/backend/game/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/game/game.cpp b/src/backend/game/game.cpp index 484b5973..9ef05447 100644 --- a/src/backend/game/game.cpp +++ b/src/backend/game/game.cpp @@ -146,7 +146,7 @@ namespace loot { // Get the number of threads to use. // hardware_concurrency() may be zero, if so then use only one thread. - unsigned int threadsToUse = std::min((size_t)boost::thread::hardware_concurrency(), plugins.size()); + unsigned int threadsToUse = std::min(boost::thread::hardware_concurrency(), plugins.size()); threadsToUse = std::max(threadsToUse, (unsigned)1); // Divide the plugins up by thread.