Skip to content

Commit

Permalink
Sorry about that msvc. good catch.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanHenson committed Oct 12, 2023
1 parent 14f0e74 commit 3df39f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ int aws_byte_buf_init_from_file(struct aws_byte_buf *out_buf, struct aws_allocat
size_t allocation_size = (size_t)len64 + 1;
aws_byte_buf_init(out_buf, alloc, allocation_size);

size_t read = -1;
size_t read = 0;
size_t total_read = 0;
do {
if (total_read == out_buf->capacity) {
Expand Down

0 comments on commit 3df39f5

Please sign in to comment.