From 7158d9d1edadb6c1b467f3a78ecd6862ae3265f0 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 19 Oct 2019 11:54:52 +0100 Subject: [PATCH] Fix off_t casting in tests Signed-off-by: Michael Tremer --- src/test-stringpool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test-stringpool.c b/src/test-stringpool.c index 85bbf68..1df7cc5 100644 --- a/src/test-stringpool.c +++ b/src/test-stringpool.c @@ -73,7 +73,7 @@ int main(int argc, char** argv) { exit(EXIT_FAILURE); } - printf("Added string at %jd\n", pos); + printf("Added string at %jd\n", (intmax_t)pos); // Must start at first byte if (pos != 0) { -- 2.47.3