]> git.ipfire.org Git - people/ms/libloc.git/blobdiff - src/test-stringpool.c
Fix off_t casting in tests
[people/ms/libloc.git] / src / test-stringpool.c
index 85bbf68f07b0a897d1cabdc46a31652a3f641dd7..1df7cc5285a1799c404ba8a742db0c02fdb9a02a 100644 (file)
@@ -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) {