Skip to content

Commit d4365d9

Browse files
committed
Fix win build
1 parent 3c00d0b commit d4365d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/core/tx/datashard/datashard.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ ui32 TDataShard::GetFreeChangeQueueCapacity(ui64 cookie) {
10361036
return 0;
10371037
}
10381038

1039-
const auto free = Min(sizeLimit - ChangesQueue.size(), Max(sizeLimit / 2, 1ul));
1039+
const auto free = Min(sizeLimit - ChangesQueue.size(), Max(sizeLimit / 2, 1ull));
10401040

10411041
ui32 reserved = ChangeQueueReservedCapacity;
10421042
if (auto it = ChangeQueueReservations.find(cookie); it != ChangeQueueReservations.end()) {

0 commit comments

Comments
 (0)