From: Michael Tremer Date: Sat, 19 Oct 2019 10:54:52 +0000 (+0100) Subject: Fix off_t casting in tests X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7158d9d1edadb6c1b467f3a78ecd6862ae3265f0;p=people%2Fsennis%2Flibloc.git Fix off_t casting in tests Signed-off-by: Michael Tremer --- 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) {