aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/protobuf/patches/protoc-implicit-insert.patch
blob: d9eaed101910a681e671acba9fc8232e02cf63d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/google/protobuf/compiler/csharp/names.cc	(index)
+++ b/src/google/protobuf/compiler/csharp/names.cc	(working tree)
@@ -210,7 +210,7 @@ TProtoStringType UnderscoresToCamelCase(y_absl::string_view input,
   if (result.size() > 0 && ('0' <= result[0] && result[0] <= '9')
       && input.size() > 0 && input[0] == '_')
   {
-      result.insert(0, 1, '_');
+      result.insert(static_cast<size_t>(0), 1, '_');
   }
   return result;
 }