Skip to content
Snippets Groups Projects
Commit 0ffba197 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Kirill Yukhin
Browse files

test: unit/guava -- fix compilation warning


Convert to uint64_t explicitly.

Signed-off-by: default avatarCyrill Gorcunov <gorcunov@gmail.com>
parent d25ecab4
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,8 @@ lcg_compat_check()
0, 55, 62, 8, 45, 59, 86, 97, 82, 59,
73, 37, 17, 56, 86, 21, 90, 37, 38, 83
};
for (size_t i = 0; i < sizeof(golden100) / sizeof(int64_t); ++i)
uint64_t nr_elems = (uint64_t)sizeof(golden100) / sizeof(uint64_t);
for (size_t i = 0; i < nr_elems; ++i)
check_guava_correctness(golden100[i]);
fail_if(6 != guava(10863919174838991ULL, 11));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment