commit | 30362908d8177bd821526d57fda97a36a90283ae | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Aug 30 15:06:10 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Aug 30 15:07:25 2019 +0200 |
tree | a46726d84d33ace795ef17cfbec015e753c9c15b | |
parent | e7bbbca781e72a6c96fcaa8601637f5cfcacb920 [diff] |
BUG/MINOR: ring: b_peek_varint() returns a uint64_t, not a size_t The difference matters when building on 32-bit architectures and a warning was rightfully emitted. No backport is needed.
diff --git a/src/ring.c b/src/ring.c index f0886b0..755e69c 100644 --- a/src/ring.c +++ b/src/ring.c
@@ -117,7 +117,7 @@ struct appctx *appctx; size_t totlen = 0; size_t lenlen; - size_t dellen; + uint64_t dellen; int dellenlen; ssize_t sent = 0; int i;