aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-git-receiver
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-03-20 19:19:56 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-03-20 19:19:56 +0100
commitc278e2da0cf9aee161e23771125629bdfe8d5d89 (patch)
treed133edccf32c7a260c534e22325ce671b5023421 /src/blogc-git-receiver
parent93fc79a5b2826bcddd617e5180d5513dc3cdc67c (diff)
downloadblogc-c278e2da0cf9aee161e23771125629bdfe8d5d89.tar.gz
blogc-c278e2da0cf9aee161e23771125629bdfe8d5d89.tar.bz2
blogc-c278e2da0cf9aee161e23771125629bdfe8d5d89.zip
blogc: common: replace unsigned int with size_t
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;
}