Skip to content

Commit

Permalink
Fix WConversion warning (#122)
Browse files Browse the repository at this point in the history
Signed-off-by: banipreetr <[email protected]>
  • Loading branch information
banipreetr authored Oct 8, 2023
1 parent 4be4902 commit a8335b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/groups/mwc/mwctst/mwctst_blobtestutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ bdlbb::Blob& BlobTestUtil::fromString(bdlbb::Blob* blob,
bsl::memcpy(bufData, dataStart, length);
bsl::shared_ptr<char> buffer;
buffer.reset(bufData, alloc);
bdlbb::BlobBuffer blobBuffer(buffer, length);
bdlbb::BlobBuffer blobBuffer(buffer, static_cast<int>(length));
blob->appendDataBuffer(blobBuffer);

if ((idx < format.size()) && format[idx] == '|') {
Expand Down

0 comments on commit a8335b7

Please sign in to comment.