Commit 3937dedb authored by John Burke's avatar John Burke

Fix compiler warning from repeated_field.h

parent 91427fe0
......@@ -692,7 +692,7 @@ class LIBPROTOBUF_EXPORT StringTypeHandlerBase {
class StringTypeHandler : public StringTypeHandlerBase {
public:
static int SpaceUsed(const string& value) {
return sizeof(value) + StringSpaceUsedExcludingSelf(value);
return static_cast<int>(sizeof(value)) + StringSpaceUsedExcludingSelf(value);
}
};
......
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