diff options
author | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2010-11-04 20:55:03 +0100 |
---|---|---|
committer | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2010-11-04 20:55:03 +0100 |
commit | 8b616d3547dc8ba64182bf0fa1210de13e675a22 (patch) | |
tree | fccc90eb70df86c43b43ed9c1da0742f64a6e5cf /hiredis.c | |
parent | 183220bf6002d904813468e7396d36267b1496e3 (diff) |
The buffer length to feed should be a size_t
Diffstat (limited to 'hiredis.c')
-rw-r--r-- | hiredis.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -424,7 +424,7 @@ char *redisReplyReaderGetError(void *reader) { return r->error; } -void redisReplyReaderFeed(void *reader, char *buf, int len) { +void redisReplyReaderFeed(void *reader, char *buf, size_t len) { redisReader *r = reader; /* Copy the provided buffer. */ |