Skip to content

Commit

Permalink
Fix one more size_t -> uint32_t narrowing warning
Browse files Browse the repository at this point in the history
  • Loading branch information
fgerlits committed Aug 21, 2023
1 parent 5f59e93 commit ca4799c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libminifi/src/io/InputStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ size_t InputStream::read(std::string &str, bool widen) {
str.clear();
str.reserve(string_length);

auto bytes_to_read = string_length;
size_t bytes_to_read{string_length};
auto zero_return_retry_count = 0;
while (bytes_to_read > 0) {
std::vector<std::byte> buffer(bytes_to_read);
Expand Down

0 comments on commit ca4799c

Please sign in to comment.