Skip to content
Browse files

tweak needed for gcc 4.8.x

git-svn-id: https://svn.r-project.org/R/trunk@62430 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information...
1 parent 3ef49eb commit 0eeb702b937880efdbc7711d9722321cf1bb6ba3 ripley committed Mar 28, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/main/sort.c
View
6 src/main/sort.c
@@ -351,7 +351,7 @@ static const int incs[NI] = {
x[j] = v; \
}
-
+/* These are only called with n >= 2 */
static void R_isort2(int *x, R_xlen_t n, Rboolean decreasing)
{
int v;
@@ -765,9 +765,9 @@ static int FNAME(int i, int j, \
} \
}
-static const int sincs[16] = {
+static const int sincs[17] = {
1073790977, 268460033, 67121153, 16783361, 4197377, 1050113,
- 262913, 65921, 16577, 4193, 1073, 281, 77, 23, 8, 1
+ 262913, 65921, 16577, 4193, 1073, 281, 77, 23, 8, 1, 0
};
// Needs indx set to 0:(n-1) initially :

0 comments on commit 0eeb702

Please sign in to comment.
Something went wrong with that request. Please try again.