summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index dd6e9503..8df51535 100644
--- a/main.c
+++ b/main.c
@@ -558,7 +558,7 @@ main (int argc, char *argv[]) {
fwrite (prn, 1, strlen (prn), stderr);
}
else if (sz > 0 && out[0]) {
- fprintf (stderr, "got unknown response:\nlength=%d\n%s\n", sz, out);
+ fprintf (stderr, "got unknown response:\nlength=%d\n%s\n", (int)sz, out);
}
}
close (s);