Commit f42a68df authored by Kal Conley's avatar Kal Conley

Fix narrowing implicit cast in generated message [NFC]

parent 9bd74b7f
......@@ -3364,7 +3364,7 @@ GenerateSerializeWithCachedSizesBody(io::Printer* printer, bool to_array) {
} else {
printer->Print(
"output->WriteRaw(unknown_fields().data(),\n"
" unknown_fields().size());\n");
" static_cast<int>(unknown_fields().size()));\n");
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment