aboutsummaryrefslogtreecommitdiff
path: root/archivers/p7zip/files/patch-CPP_Windows_System.cpp
blob: 4214f0888b95733986ee93d22934999ced101b1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- CPP/Windows/System.cpp.orig	2015-11-20 21:33:04 UTC
+++ CPP/Windows/System.cpp
@@ -44,7 +44,7 @@ namespace NWindows
 		#elif defined (__FreeBSD__) || defined (__FreeBSD_kernel__)
 		UInt32 GetNumberOfProcessors() {
 		  	int nbcpu = 1;
-			size_t value;
+			int value;
 			size_t len = sizeof(value);
 			if (sysctlbyname("hw.ncpu", &value, &len, NULL, 0) == 0)
 				nbcpu = value;