From e9f9ae75ad4e9fd95dd2952ef29bf318e8b08141 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Thu, 25 Oct 2018 10:01:28 -0400 Subject: [PATCH] fix compiler warning Change-Id: I35c60bfce71045a6399368b9cfa887501557c71a --- daemon/redis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/redis.c b/daemon/redis.c index b25d4bf7d..42e0a797b 100644 --- a/daemon/redis.c +++ b/daemon/redis.c @@ -77,7 +77,7 @@ static int redisCommandNR(redisContext *r, const char *fmt, ...) #endif -#define REDIS_FMT(x) (x)->len, (x)->str +#define REDIS_FMT(x) (int) (x)->len, (x)->str static int redis_check_conn(struct redis *r); static void json_restore_call(struct redis *r, const str *id, enum call_type type);