diff --git a/package/src/RcompGeomete.c b/package/src/RcompGeomete.c index 389c168..96859fe 100644 --- a/package/src/RcompGeomete.c +++ b/package/src/RcompGeomete.c @@ -81,7 +81,7 @@ double *calculateradill(double *point0, double *voronoiVertices) Rprintf("num of rows"); snprintf(int2strbuf, int2strbufsize, "%d", row); - Rprintf(int2strbuf); + Rprintf((char *)int2strbuf); for (j = 0; j < row; j++) { diff --git a/package/src/Rdelaunayn.c b/package/src/Rdelaunayn.c index 73a0696..1c68f9b 100644 --- a/package/src/Rdelaunayn.c +++ b/package/src/Rdelaunayn.c @@ -325,7 +325,7 @@ SEXP C_delaunayn(const SEXP p, const SEXP options, SEXP tmpdir) { if (exitcode == 1) { - error("Qhull returned non-simplicial facets -- try delaunayn with different options. exitcode", exitcode); + error("Qhull returned non-simplicial facets -- try delaunayn with different options. exitcode %d", exitcode); } else { diff --git a/package/src/Rvoronoi.c b/package/src/Rvoronoi.c index 9a261cd..ee4c3f8 100644 --- a/package/src/Rvoronoi.c +++ b/package/src/Rvoronoi.c @@ -492,7 +492,7 @@ SEXP C_voronoiR(const SEXP p, const SEXP options, SEXP tmpdir) { if (exitcode == 1) { - error("Qhull returned non-simplicial facets -- try delaunayn with different options. exitcode", exitcode); + error("Qhull returned non-simplicial facets -- try delaunayn with different options. exitcode %d", exitcode); } else {