Skip to content
Snippets Groups Projects
Commit 7131dc13 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Rolled back the last commit. Clearly signed arithmetic is necessary here.

parent cfe2ace3
No related branches found
No related tags found
No related merge requests found
......@@ -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++ )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment