diff options
author | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2011-01-27 14:07:06 +0100 |
---|---|---|
committer | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2011-01-27 14:07:06 +0100 |
commit | 864bce944be1331c70ed353aeb083607c2a31acc (patch) | |
tree | fc27f5579aed7a8bdf253052d1a77746ab04d339 /hiredis.h | |
parent | fbe756d8389ea0b6966fbf9bd48d27253eed5a3a (diff) |
redisReplyReaderFeed should take a const char*
Diffstat (limited to 'hiredis.h')
-rw-r--r-- | hiredis.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -135,7 +135,7 @@ int redisReplyReaderSetPrivdata(void *reader, void *privdata); void *redisReplyReaderGetObject(void *reader); char *redisReplyReaderGetError(void *reader); void redisReplyReaderFree(void *ptr); -void redisReplyReaderFeed(void *reader, char *buf, size_t len); +void redisReplyReaderFeed(void *reader, const char *buf, size_t len); int redisReplyReaderGetReply(void *reader, void **reply); /* Functions to format a command according to the protocol. */ |