summaryrefslogtreecommitdiff
path: root/hiredis.h
diff options
context:
space:
mode:
Diffstat (limited to 'hiredis.h')
-rw-r--r--hiredis.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hiredis.h b/hiredis.h
index f63390e..f28dcdb 100644
--- a/hiredis.h
+++ b/hiredis.h
@@ -47,8 +47,8 @@ typedef struct redisReply {
struct redisReply **element; /* elements vector for REDIS_REPLY_ARRAY */
} redisReply;
-redisReply *redisConnect(int *fd, char *ip, int port);
+redisReply *redisConnect(int *fd, const char *ip, int port);
void freeReplyObject(redisReply *r);
-redisReply *redisCommand(int fd, char *format, ...);
+redisReply *redisCommand(int fd, const char *format, ...);
#endif