Skip to content

Commit fbbd5bc

Browse files
author
Alexander Damian
committed
Changed int to size_t
1 parent bda2f41 commit fbbd5bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/cppkafka/utils/buffered_producer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ void BufferedProducer<BufferType, Allocator>::clear() {
771771

772772
template <typename BufferType, typename Allocator>
773773
size_t BufferedProducer<BufferType, Allocator>::get_buffer_size() const {
774-
int size = 0;
774+
size_t size = 0;
775775
{
776776
std::lock_guard<std::mutex> lock(mutex_);
777777
size += messages_.size();

0 commit comments

Comments
 (0)