rfc822: Fix test bugs on 64-bit platforms
[ccan] / ccan / rfc822 / test / run-unfold.c
index b9529269a01e1dbd70b93f7ae26101d47485c179..0f44cd5e30ab4526d08a2e17c6f4c7b32c44e234 100644 (file)
@@ -89,7 +89,7 @@ static void check_folded_header(const char *buf, size_t len)
        hunfold = rfc822_header_unfolded_value(msg, hdr);
        allocation_failure_check();
 
-       ok(hunfold.len == strlen(UNFOLDED), "Unfolded length %d, should be %d",
+       ok(hunfold.len == strlen(UNFOLDED), "Unfolded length %zd, should be %zd",
           hunfold.len, strlen(UNFOLDED));
        ok1(memcmp(hunfold.ptr, UNFOLDED, hunfold.len) == 0);