diff options
author | Kalev Lember <kalevlember@gmail.com> | 2013-03-20 17:33:35 +0100 |
---|---|---|
committer | Kalev Lember <kalevlember@gmail.com> | 2013-03-20 19:04:03 +0100 |
commit | 096eed1a810f8c09c6e646adaeee248ed914595a (patch) | |
tree | d4e51798bab6d9d0c11075ba6685330f6e044c1d | |
parent | 50f4c17eeaae428182055e8087a502ae3dce529b (diff) | |
download | libsoup-096eed1a810f8c09c6e646adaeee248ed914595a.tar.gz libsoup-096eed1a810f8c09c6e646adaeee248ed914595a.tar.bz2 libsoup-096eed1a810f8c09c6e646adaeee248ed914595a.zip |
requester-test: fix a printf format compiler warning
Could use G_GSIZE_FORMAT here, but casting to gulong is simpler.
-rw-r--r-- | tests/requester-test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/requester-test.c b/tests/requester-test.c index 147ba4c3..6e169ad0 100644 --- a/tests/requester-test.c +++ b/tests/requester-test.c @@ -691,7 +691,8 @@ do_null_char_request (SoupSession *session, const char *encoded_data, } if (nread != expected_len) { - debug_printf (1, " response length mismatch: expected %d, got %lu\n", expected_len, nread); + debug_printf (1, " response length mismatch: expected %d, got %lu\n", + expected_len, (gulong)nread); errors++; } else if (memcmp (buf, expected_data, nread) != 0) { debug_printf (1, " response data mismatch\n"); |