diff --git a/src/groups/mwc/mwctst/mwctst_blobtestutil.cpp b/src/groups/mwc/mwctst/mwctst_blobtestutil.cpp index 37dffea58d..a5ba36b4c4 100644 --- a/src/groups/mwc/mwctst/mwctst_blobtestutil.cpp +++ b/src/groups/mwc/mwctst/mwctst_blobtestutil.cpp @@ -59,7 +59,7 @@ bdlbb::Blob& BlobTestUtil::fromString(bdlbb::Blob* blob, bsl::memcpy(bufData, dataStart, length); bsl::shared_ptr buffer; buffer.reset(bufData, alloc); - bdlbb::BlobBuffer blobBuffer(buffer, length); + bdlbb::BlobBuffer blobBuffer(buffer, static_cast(length)); blob->appendDataBuffer(blobBuffer); if ((idx < format.size()) && format[idx] == '|') {