Skip to content

Commit 011e15d

Browse files
authored
Fix types for win build (#2054)
1 parent fa91b70 commit 011e15d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/library/yaml_config/serialize_deserialize.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Y_DECLARE_OUT_SPEC(, NKikimr::NYaml::TCombinedDiskInfoKey, stream, value) {
1212
}
1313

1414
template <>
15-
bool TryFromStringImpl<::NKikimrConfig::TBootstrap_ETabletType, char>(const char* value, unsigned long size, NKikimrConfig::TBootstrap_ETabletType& res) {
15+
bool TryFromStringImpl<::NKikimrConfig::TBootstrap_ETabletType, char>(const char* value, size_t size, NKikimrConfig::TBootstrap_ETabletType& res) {
1616
const google::protobuf::EnumDescriptor *descriptor = ::NKikimrConfig::TBootstrap_ETabletType_descriptor();
1717
const auto* valueDescriptor = descriptor->FindValueByName(TString(value, size));
1818
if (valueDescriptor) {

0 commit comments

Comments
 (0)