Skip to content

Commit 4b939f4

Browse files
author
Nick Kochakian
committed
Changed type so that it matches count
1 parent effc217 commit 4b939f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/bredis/impl/protocol.ipp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ template <typename Iterator, typename Policy> struct array_parser_t {
336336

337337
auto count = count_wrapped->value;
338338
array_helper elements{count_wrapped->consumed, count};
339-
long marked_elements{0};
339+
size_t marked_elements{0};
340340
Iterator element_from =
341341
from + (count_wrapped->consumed - already_consumed);
342342
while (marked_elements < count) {

0 commit comments

Comments
 (0)