diff cli-runopts.c @ 1237:888e3d17e962

Fix print format specifier
author Chocobo1 <Chocobo1@users.noreply.github.com>
date Tue, 05 Jan 2016 12:32:33 +0800
parents de2e39e94c68
children 968be6f7cff6
line wrap: on
line diff
--- a/cli-runopts.c	Tue Jan 05 12:25:10 2016 +0800
+++ b/cli-runopts.c	Tue Jan 05 12:32:33 2016 +0800
@@ -538,7 +538,7 @@
 
 	if (opts.recv_window != DEFAULT_RECV_WINDOW)
 	{
-		int written = snprintf(ret+total, len-total, "-W %d ", opts.recv_window);
+		int written = snprintf(ret+total, len-total, "-W %u ", opts.recv_window);
 		total += written;
 	}