Skip to content

Commit

Permalink
switch ui32 to ui64
Browse files Browse the repository at this point in the history
  • Loading branch information
uzhastik authored Jan 17, 2025
1 parent 71c60ed commit 852005f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ydb/core/fq/libs/compute/common/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ struct TDurationParser {
return res;
}

constexpr ui32 ConsumeNumberPortion() noexcept {
ui32 dec = 1;
ui32 res = 0;
constexpr ui64 ConsumeNumberPortion() noexcept {
ui64 dec = 1;
ui64 res = 0;
while (!Src.empty() && IsDigit(Src.back())) {
res += (Src.back() - '0') * dec;
dec *= 10;
Expand Down

0 comments on commit 852005f

Please sign in to comment.