Fix casting problems

This commit is contained in:
Anthony Louis committed 2021-04-09 19:34:24 -03:00
1 parent 792e9f70e4
commit af64113f54
1 file changed
+2 -2
+2 -2
View File
@@ -26,7 +26,7 @@ TEST(TestShaHashUtils, TestSha1Numeric) {
auto ctx_ptr = reinterpret_cast<int64_t>(&ctx);
std::vector<double> values_to_be_hashed;
std::vector<uint64_t> values_to_be_hashed;
// Generate a list of values to obtains the SHA1 hash
values_to_be_hashed.push_back(gandiva::gdv_double_to_long(0.0));
@@ -61,7 +61,7 @@ TEST(TestShaHashUtils, TestSha256Numeric) {
auto ctx_ptr = reinterpret_cast<int64_t>(&ctx);
std::vector<double> values_to_be_hashed;
std::vector<uint64_t> values_to_be_hashed;
// Generate a list of values to obtains the SHA1 hash
values_to_be_hashed.push_back(gandiva::gdv_double_to_long(0.0));