aboutsummaryrefslogtreecommitdiff
path: root/tests/unittests
diff options
context:
space:
mode:
authorAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2019-06-14 12:05:37 +0200
committerAndreas Schneider <asn@cryptomilk.org>2019-06-14 15:22:45 +0200
commitc4463ba5e7e653686270a9e51294cf92cdb38ca4 (patch)
tree8070e2a4f8641258501a63e68bf90956b8dba87d /tests/unittests
parentfba384ac5879aa2de6b5374962aa2a2377aa752e (diff)
downloadlibssh-c4463ba5e7e653686270a9e51294cf92cdb38ca4.tar.gz
libssh-c4463ba5e7e653686270a9e51294cf92cdb38ca4.tar.xz
libssh-c4463ba5e7e653686270a9e51294cf92cdb38ca4.zip
tests/torture_config: Replace long long with uint64_t
Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests/unittests')
-rw-r--r--tests/unittests/torture_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/torture_config.c b/tests/unittests/torture_config.c
index f5bf37d0..29680801 100644
--- a/tests/unittests/torture_config.c
+++ b/tests/unittests/torture_config.c
@@ -817,7 +817,7 @@ static void torture_config_rekey(void **state)
ssh_options_set(session, SSH_OPTIONS_HOST, "data1");
ret = ssh_config_parse_file(session, LIBSSH_TESTCONFIG12);
assert_ssh_return_code(session, ret);
- assert_int_equal(session->opts.rekey_data, (long long) 42 * 1024 * 1024 * 1024);
+ assert_int_equal(session->opts.rekey_data, (uint64_t) 42 * 1024 * 1024 * 1024);
assert_int_equal(session->opts.rekey_time, 0);
/* 41 MB */