Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

db_bench: int conversion bug inserted in #200 #263

Closed
Yuval-Ariel opened this issue Nov 23, 2022 · 0 comments · Fixed by #265
Closed

db_bench: int conversion bug inserted in #200 #263

Yuval-Ariel opened this issue Nov 23, 2022 · 0 comments · Fixed by #265
Assignees
Labels
bug Something isn't working

Comments

@Yuval-Ariel
Copy link
Contributor

tools/db_bench_tool.cc:6835:26: error: implicit conversion loses integer precision: 'XXH64_hash_t' (aka 'unsigned long long') to 'unsigned int' [-Werror,-Wshorten-64-to-32]
unsigned int xxh64 = XXH64(str.data(), str.length(), 0);

solution:
change unsigned int to uint64_t

@Yuval-Ariel Yuval-Ariel self-assigned this Nov 23, 2022
@Yuval-Ariel Yuval-Ariel added the bug Something isn't working label Nov 23, 2022
@Yuval-Ariel Yuval-Ariel linked a pull request Nov 23, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant