File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -227,8 +227,8 @@ struct PostgresBinaryReader {
227
227
// similarly, if trailing zeroes have been suppressed, we have not been multiplying t
228
228
// the fractional part with NBASE often enough. If so, add additional powers
229
229
if (config.ndigits > config.weight + 1 ) {
230
- auto fractional_power = (config.ndigits - config.weight - 1 ) * DEC_DIGITS;
231
- auto fractional_power_correction = fractional_power - config.scale ;
230
+ int32_t fractional_power = (config.ndigits - config.weight - 1 ) * DEC_DIGITS;
231
+ int32_t fractional_power_correction = fractional_power - config.scale ;
232
232
D_ASSERT (fractional_power_correction < 20 );
233
233
fractional_part = 0 ;
234
234
for (int32_t i = MaxValue<int32_t >(0 , config.weight + 1 ); i < config.ndigits ; i++) {
You can’t perform that action at this time.
0 commit comments