Skip to content

Commit 56c53f7

Browse files
committed
[Libc] Turn implicit to explicit conversion
This fixes a build issue on the AMDGPU libc bot after #126846 landed that introduced a warning.
1 parent aaa1adc commit 56c53f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/__support/high_precision_decimal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ class HighPrecisionDecimal {
401401
this->right_shift(MAX_SHIFT_AMOUNT);
402402
shift_amount += MAX_SHIFT_AMOUNT;
403403
}
404-
this->right_shift(-shift_amount);
404+
this->right_shift(-static_cast<uint32_t>(shift_amount));
405405
}
406406
}
407407

0 commit comments

Comments
 (0)