diff options
Diffstat (limited to 'example-libevent.c')
-rw-r--r-- | example-libevent.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/example-libevent.c b/example-libevent.c index 65dffe6..8be78a1 100644 --- a/example-libevent.c +++ b/example-libevent.c @@ -6,7 +6,8 @@ #include "async.h" #include "adapters/libevent.h" -void getCallback(redisAsyncContext *c, redisReply *reply, void *privdata) { +void getCallback(redisAsyncContext *c, void *r, void *privdata) { + redisReply *reply = r; if (reply == NULL) return; printf("argv[%s]: %s\n", (char*)privdata, reply->str); |