summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hiredis.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hiredis.h b/hiredis.h
index 68afb26..f02678a 100644
--- a/hiredis.h
+++ b/hiredis.h
@@ -203,7 +203,7 @@ typedef struct redisContextFuncs {
/* Context for a connection to Redis */
typedef struct redisContext {
- redisContextFuncs *funcs; /* Function table */
+ const redisContextFuncs *funcs; /* Function table */
int err; /* Error flags, 0 when there is no error */
char errstr[128]; /* String representation of error when applicable */