aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbabenko <babenko@yandex-team.com>2024-05-11 22:49:43 +0300
committerbabenko <babenko@yandex-team.com>2024-05-11 23:01:24 +0300
commite12d658d15f132fa5bcf5a7bdf99b258b3534fa7 (patch)
tree54ef24220f033700c022546e3c9c9178adccc1db
parent47c8f0473e31a6513d6b20e4fc26f7f092b0feea (diff)
downloadydb-e12d658d15f132fa5bcf5a7bdf99b258b3534fa7.tar.gz
TCellTag is unsigned, even in protobuf
9c5fa368881baeddfc8677148e445760dcf4dba5
-rw-r--r--yt/yt/client/hive/timestamp_map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt/yt/client/hive/timestamp_map.cpp b/yt/yt/client/hive/timestamp_map.cpp
index 02487f1525..075cdabaa2 100644
--- a/yt/yt/client/hive/timestamp_map.cpp
+++ b/yt/yt/client/hive/timestamp_map.cpp
@@ -42,7 +42,7 @@ void ToProto(NProto::TTimestampMap* protoMap, const TTimestampMap& map)
protoMap->clear_cell_tags();
protoMap->clear_timestamps();
for (auto [cellTag, timestamp] : map.Timestamps) {
- protoMap->add_cell_tags(ToProto<int>(cellTag));
+ protoMap->add_cell_tags(ToProto<ui32>(cellTag));
protoMap->add_timestamps(timestamp);
}
}