From 8b616d3547dc8ba64182bf0fa1210de13e675a22 Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Thu, 4 Nov 2010 20:55:03 +0100 Subject: The buffer length to feed should be a size_t --- hiredis.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hiredis.h') diff --git a/hiredis.h b/hiredis.h index 0a6a9a1..cb25b36 100644 --- a/hiredis.h +++ b/hiredis.h @@ -115,7 +115,7 @@ int redisReplyReaderSetReplyObjectFunctions(void *reader, redisReplyObjectFuncti void *redisReplyReaderGetObject(void *reader); char *redisReplyReaderGetError(void *reader); void redisReplyReaderFree(void *ptr); -void redisReplyReaderFeed(void *reader, char *buf, int len); +void redisReplyReaderFeed(void *reader, char *buf, size_t len); int redisReplyReaderGetReply(void *reader, void **reply); /* Functions to format a command according to the protocol. */ -- cgit v1.2.3