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

Minor fix for GCC 5.2

parent 649c7018
No related branches found
No related tags found
1 merge request!50Parallel sorting
......@@ -541,10 +541,10 @@ void space_do_parts_sort() {
if (!space_sort_struct.waiting) return;
/* Get the stack entry. */
int i = space_sort_struct.stack[qid].i;
int j = space_sort_struct.stack[qid].j;
int min = space_sort_struct.stack[qid].min;
int max = space_sort_struct.stack[qid].max;
unsigned int i = space_sort_struct.stack[qid].i;
unsigned int j = space_sort_struct.stack[qid].j;
unsigned int min = space_sort_struct.stack[qid].min;
unsigned int max = space_sort_struct.stack[qid].max;
space_sort_struct.stack[qid].ready = 0;
/* Loop over sub-intervals. */
......@@ -653,8 +653,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;
int pivot;
int i, ii, j, jj, temp_i, qid;
unsigned int pivot;
unsigned 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