]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
reply_cnt is a size_t
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 22 Nov 2016 12:51:31 +0000 (07:51 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 22 Nov 2016 12:52:56 +0000 (07:52 -0500)
src/modules/rlm_redis_ippool/rlm_redis_ippool_tool.c

index eaf1e6fd7110718e0c5a0a29e18c6bda06b514ed..59bd278ea2dbaeb98107096bf2fc84c5486b6e8a 100644 (file)
@@ -1117,7 +1117,7 @@ static int driver_get_stats(ippool_tool_stats_t *out, void *instance, uint8_t co
        }
 
        if (reply->elements != (reply_cnt - 2)) {
-               ERROR("Failed retrieving pool stats: Expected %i results, got %zu", reply_cnt - 2, reply->elements);
+               ERROR("Failed retrieving pool stats: Expected %zu results, got %zu", reply_cnt - 2, reply->elements);
                goto error;
        }