Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ReactCommon/react/renderer/mapbuffer/MapBufferBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ void MapBufferBuilder::ensureDynamicDataSpace(int32_t size) {
}

void MapBufferBuilder::putString(Key key, std::string value) {
int32_t strLength = value.length();
int32_t strLength = static_cast<int32_t>(value.length());
const char *cstring = getCstring(&value);

// format [lenght of string (int)] + [Array of Characters in the string]
Expand Down Expand Up @@ -223,4 +223,4 @@ MapBufferBuilder::~MapBufferBuilder() {
}

} // namespace react
} // namespace facebook
} // namespace facebook