Browse Source

TCellTag is unsigned, even in protobuf
9c5fa368881baeddfc8677148e445760dcf4dba5

babenko 10 months ago
parent
commit
e12d658d15
1 changed files with 1 additions and 1 deletions
  1. 1 1
      yt/yt/client/hive/timestamp_map.cpp

+ 1 - 1
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);
     }
 }