diff --git a/src/reorder.c b/src/reorder.c index 66f1cc644..01efe47a9 100644 --- a/src/reorder.c +++ b/src/reorder.c @@ -63,14 +63,17 @@ SEXP reorder(SEXP x, SEXP order) // This check is once up front, and then idx is applied to all the columns which is where the most time is spent. } - char *TMP = R_alloc(nmid, maxSize); + void *TMP = R_alloc(nmid, maxSize); for (int i=0; i