diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-03-26 23:47:25 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-03-26 23:50:44 -0400 |
commit | f7703533a4d6bac9ba708218a3244cdc60376446 (patch) | |
tree | 8ad6485fb74486ca34c9d0ac4e7670b7101b2603 /src | |
parent | 3baed19327663d012c3313b72cc5b3d02a58720a (diff) |
tests: fix size_t in format string
Diffstat (limited to 'src')
-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 9b4dae805f..b7b70d4c15 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: %ld. ", space_left); + space_left = strpcpyf(&s, space_left, "space left: %zd. ", space_left); space_left = strpcpyf(&s, space_left, "foo%s", "bar"); assert(streq(target, "space left: 25. foobar")); |