diff options
author | Fabiano Fidêncio <fidencio@redhat.com> | 2015-09-17 14:30:41 +0200 |
---|---|---|
committer | Fabiano Fidêncio <fidencio@redhat.com> | 2015-10-12 13:56:21 +0200 |
commit | 25a45eb6f83fac264d2ee476ac710938f5ce6ff9 (patch) | |
tree | 428e1590db19e1053b0c589d861dcf8d0e44b92a /COPYING | |
parent | 2b1a7c4b7250018ef4d07ca540cf137a78573a2c (diff) | |
download | libssh-25a45eb6f83fac264d2ee476ac710938f5ce6ff9.tar.gz libssh-25a45eb6f83fac264d2ee476ac710938f5ce6ff9.tar.xz libssh-25a45eb6f83fac264d2ee476ac710938f5ce6ff9.zip |
tests: Fix warning about expected format for printf
/home/ffidenci/src/upstream/libssh/tests/benchmarks/bench_scp.c: In
function ‘benchmarks_scp_down’:
/home/ffidenci/src/upstream/libssh/tests/benchmarks/bench_scp.c:112:14:
warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has
type ‘size_t {aka long unsigned int}’ [-Wformat=]
printf("Only %d bytes available (on %lu requested).\n",size,bytes);
^
/home/ffidenci/src/upstream/libssh/tests/benchmarks/bench_scp.c:116:14:
warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has
type ‘size_t {aka long unsigned int}’ [-Wformat=]
printf("File is %d bytes (on %lu requested). Will cut the end\n"
,size,bytes);
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions