From b8fc729ecc1cbc1bc07553f3d17426d777f9ad80 Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Mon, 4 Dec 2023 09:53:56 +0800 Subject: [PATCH] cast pointers to standard type for printf --- src/assign.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assign.c b/src/assign.c index 3356e918b..d433c2b54 100644 --- a/src/assign.c +++ b/src/assign.c @@ -1197,7 +1197,7 @@ static R_len_t *savedtl=NULL, nalloc=0, nsaved=0; void savetl_init(void) { if (nsaved || nalloc || saveds || savedtl) { - error(_("Internal error: savetl_init checks failed (%d %d %p %p). please report to data.table issue tracker."), nsaved, nalloc, saveds, savedtl); // # nocov + error(_("Internal error: savetl_init checks failed (%d %d %p %p). please report to data.table issue tracker."), nsaved, nalloc, (void *)saveds, (void *)savedtl); // # nocov } nsaved = 0; nalloc = 100;