diff --git a/indexer/metadata_serdes.cpp b/indexer/metadata_serdes.cpp index 676dfc25ab..84757cf24b 100644 --- a/indexer/metadata_serdes.cpp +++ b/indexer/metadata_serdes.cpp @@ -45,7 +45,7 @@ bool MetadataDeserializer::GetIds(uint32_t featureId, MetaIds & metaIds) const return m_map->GetThreadsafe(featureId, metaIds); } -std::string MetadataDeserializer::GetMetaById(uint8_t id) +std::string MetadataDeserializer::GetMetaById(uint32_t id) { lock_guard guard(m_stringsMutex); return m_strings.ExtractString(*m_stringsSubreader, id); diff --git a/indexer/metadata_serdes.hpp b/indexer/metadata_serdes.hpp index 3d5ab9f181..3cef262b44 100644 --- a/indexer/metadata_serdes.hpp +++ b/indexer/metadata_serdes.hpp @@ -72,7 +72,7 @@ public: WARN_UNUSED_RESULT bool GetIds(uint32_t featureId, MetaIds & metaIds) const; // Gets single metadata string from text storage. This method is threadsafe. - std::string GetMetaById(uint8_t id); + std::string GetMetaById(uint32_t id); private: using Map = MapUint32ToValue;