Skip to content

Commit 3a0dbcc

Browse files
committed
Fix: Replace old-style casts with static_cast
Signed-off-by: Patrick M. Niedzielski <[email protected]>
1 parent 3e4fea1 commit 3a0dbcc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/groups/bmq/bmqst/bmqst_statcontexttableinfoprovider.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,8 @@ int StatContextTableInfoProvider::getValueSize(int row, int column) const
492492
}
493493
else if (colInfo.d_doubleFunc) {
494494
double funcValue = colInfo.d_doubleFunc(value);
495-
return bmqst::PrintUtil::printedValueLength(funcValue);
495+
return bmqst::PrintUtil::printedValueLength(funcValue,
496+
d_precision);
496497
}
497498
}
498499

0 commit comments

Comments
 (0)