diff --git a/deps/librinterface.c b/deps/librinterface.c index 80d3d4b..980ce2f 100644 --- a/deps/librinterface.c +++ b/deps/librinterface.c @@ -1,5 +1,6 @@ /* Copyright - 2012 - Laurent Gautier */ #include +#include #include #include #include @@ -768,7 +769,7 @@ SexpIntVector_ptr(SEXP sexp) { /* Return NULL on failure */ SEXP -SexpBoolVector_new(int *v, int n) { +SexpBoolVector_new(bool *v, int n) { RINTERF_NEWVECTOR(LOGICAL_POINTER, NEW_LOGICAL(n), int) } @@ -778,7 +779,7 @@ SexpBoolVector_new_nofill(int n) { } SEXP -SexpBoolVectorMatrix_new(int *v, int nx, int ny) { +SexpBoolVectorMatrix_new(bool *v, int nx, int ny) { int n = nx * ny; RINTERF_NEWVECTOR(LOGICAL_POINTER, allocMatrix(LGLSXP, nx, ny), int) }