Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anandamideShakyan committed Dec 10, 2024
1 parent cb49aa9 commit dfc3ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion velox/tpch/gen/dbgen/build.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace facebook::velox::tpch::dbgen {
1; \
}
#define V_STR(avg, seed, tgt) \
tpch_a_rnd((int)(avg * V_STR_LOW), (int)(avg * V_STR_HGH), seed, tgt)
tpch_a_rnd(static_cast<int>((avg) * V_STR_LOW), static_cast<int>((avg) * V_STR_HGH), seed, tgt)
#define TEXT(avg, seed, tgt) \
dbg_text(tgt, static_cast<int>((avg) * V_STR_LOW), static_cast<int>((avg) * V_STR_HGH), seed)
static void gen_phone PROTO((DSS_HUGE ind, char* target, seed_t* seed));
Expand Down

0 comments on commit dfc3ab8

Please sign in to comment.