commit 9bb330eb019026c6ce9df17a78a1846ec332fef9
parent 369054a0abbc6dfd6baad2d46d237ba419b98904
Author: sin <sin@2f30.org>
Date: Mon, 4 Jun 2012 17:45:30 +0100
sscall: Use proper format specifier for ssize_t
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sscall.c b/sscall.c
@@ -403,7 +403,7 @@ main(int argc, char *argv[])
sizeof(host), NULL, 0, 0);
if (ret < 0)
warn("getnameinfo");
- printf("Received %ld bytes from %s\n",
+ printf("Received %zd bytes from %s\n",
bytes, host);
}
do_output_pcm(buf, bytes);