From 435c8d911a141bb4a49231f00e50a0a7b781e30c Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <matthieu.schaller@durhama.ac.uk>
Date: Tue, 27 Oct 2015 12:31:04 +0000
Subject: [PATCH] Undo change to avoid GCC 5.2 signed issues. (cherry picked
 from commit 7131dc13eb9b on master)

---
 src/space.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/space.c b/src/space.c
index 53e93b15c0..f4d9cda9d3 100644
--- a/src/space.c
+++ b/src/space.c
@@ -492,8 +492,8 @@ void parts_sort(struct part *parts, struct xpart *xparts, int *ind, int N,
   unsigned int qstack_size = 2 * (max - min) + 10;
   volatile unsigned int first, last, waiting;
 
-  unsigned int pivot;
-  unsigned int i, ii, j, jj, temp_i, qid;
+  int pivot;
+  int i, ii, j, jj, temp_i, qid;
   struct part temp_p;
   struct xpart temp_xp;
 
@@ -636,8 +636,8 @@ void gparts_sort(struct gpart *gparts, int *ind, int N, int min, int max) {
   int qstack_size = 2 * (max - min) + 10;
   volatile unsigned int first, last, waiting;
 
-  unsigned int pivot;
-  unsigned int i, ii, j, jj, temp_i, qid;
+  int pivot;
+  int i, ii, j, jj, temp_i, qid;
   struct gpart temp_p;
 
   /* for ( int k = 0 ; k < N ; k++ )
-- 
GitLab