Skip to content

Commit 94ef3ec

Browse files
authored
Merge pull request #18 from nkochakian/msvc-warnings
Looks good, thank you for your contribution!
2 parents effc217 + a73d339 commit 94ef3ec

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

include/bredis/Markers.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#include <boost/variant.hpp>
1010
#include <boost/variant/recursive_variant.hpp>
11+
#include <vector>
1112

1213
namespace bredis {
1314

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)