Index: p7zip/CPP/7zip/Archive/Wim/WimHandler.cpp
--- p7zip/CPP/7zip/Archive/Wim/WimHandler.cpp.orig
+++ p7zip/CPP/7zip/Archive/Wim/WimHandler.cpp
@@ -298,7 +298,7 @@ STDMETHODIMP CHandler::GetArchiveProperty(PROPID propI
 
       AString res;
 
-      bool numMethods = 0;
+      int numMethods = 0;
       for (unsigned i = 0; i < ARRAY_SIZE(k_Methods); i++)
       {
         if (methodMask & ((UInt32)1 << i))
