diff options
Diffstat (limited to 'src/test/test-strxcpyx.c')
-rw-r--r-- | src/test/test-strxcpyx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-strxcpyx.c b/src/test/test-strxcpyx.c index cb2309210f..a7c8e1267d 100644 --- a/src/test/test-strxcpyx.c +++ b/src/test/test-strxcpyx.c @@ -48,7 +48,7 @@ static void test_strpcpyf(void) { size_t space_left; space_left = sizeof(target); - space_left = strpcpyf(&s, space_left, "space left: %zd. ", space_left); + space_left = strpcpyf(&s, space_left, "space left: %zu. ", space_left); space_left = strpcpyf(&s, space_left, "foo%s", "bar"); assert_se(streq(target, "space left: 25. foobar")); |