summaryrefslogtreecommitdiff
path: root/tests/test-pseudotcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-pseudotcp.c')
-rw-r--r--tests/test-pseudotcp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-pseudotcp.c b/tests/test-pseudotcp.c
index 1a8391a..e35138a 100644
--- a/tests/test-pseudotcp.c
+++ b/tests/test-pseudotcp.c
@@ -81,7 +81,8 @@ static void write_to_sock (PseudoTcpSocket *sock)
total += wlen;
total_read += wlen;
if (wlen < (gint) len) {
- g_debug ("seeking %ld from %lu", wlen - len, ftell (in));
+ g_debug ("seeking %" G_GSIZE_FORMAT " from %lu", wlen - len,
+ ftell (in));
fseek (in, wlen - len, SEEK_CUR);
g_assert (!feof (in));
g_debug ("Socket queue full after %d bytes written", total);