1
1
libssh/tests/benchmarks
Fabiano Fidêncio 1226add976 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>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2016-01-19 11:31:07 +01:00
..
bench1.sh fix permissions 2015-07-08 16:33:34 +02:00
bench2.sh Moved benchmarks to the tests/ directory 2010-12-28 13:17:27 +01:00
bench_raw.c benchmarks: fix some bugs 2011-09-02 11:43:07 +03:00
bench_scp.c tests: Fix warning about expected format for printf 2016-01-19 11:31:07 +01:00
bench_sftp.c Fix a bunch of -Wmaybe-uninitialized 2015-12-17 15:01:05 +01:00
benchmarks.c Benchmarks: parse config files 2012-12-23 23:10:52 +01:00
benchmarks.h benchmarks: fix some bugs 2011-09-02 11:43:07 +03:00
CMakeLists.txt benchmarks: refactoring + sync sftp tests 2011-09-02 11:43:07 +03:00
latency.c benchmarks: added raw_download test 2011-09-02 11:43:05 +03:00