aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-git-receiver
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc-git-receiver')
-rw-r--r--src/blogc-git-receiver/pre-receive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blogc-git-receiver/pre-receive.c b/src/blogc-git-receiver/pre-receive.c
index c2fe080..e8ac1d3 100644
--- a/src/blogc-git-receiver/pre-receive.c
+++ b/src/blogc-git-receiver/pre-receive.c
@@ -21,13 +21,13 @@
#include "pre-receive.h"
-static unsigned int
+static size_t
cpu_count(void)
{
#ifdef _SC_NPROCESSORS_ONLN
long num = sysconf(_SC_NPROCESSORS_ONLN);
if (num >= 1)
- return (unsigned int) num;
+ return (size_t) num;
#endif
return 1;
}