From 2d0b7a59a0015530e67d335bc44eab12090f6ebb Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <matthieu.schaller@durham.ac.uk>
Date: Tue, 1 Sep 2015 11:27:39 +0200
Subject: [PATCH] Corrected a integer type warning

Former-commit-id: 0c4421a9ace916a12ecaf9c33330d3c151f89fad
---
 src/space.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/space.c b/src/space.c
index 2e6df8d2fa..f488cb3d25 100644
--- a/src/space.c
+++ b/src/space.c
@@ -488,7 +488,7 @@ void parts_sort(struct part *parts, struct xpart *xparts, int *ind, int N,
     volatile int ready;
   };
   struct qstack *qstack;
-  int qstack_size = 2 * (max - min) + 10;
+  unsigned int qstack_size = 2 * (max - min) + 10;
   volatile unsigned int first, last, waiting;
 
   int pivot;
-- 
GitLab