From 8356c34ac9097616997e5d9905f54aa3ba79dd22 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Sat, 12 Sep 2015 14:32:10 +0300 Subject: [PATCH 1/1] Fixed const-related warning message. --- projects/rlm_stg/rlm_stg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/rlm_stg/rlm_stg.c b/projects/rlm_stg/rlm_stg.c index 98c6a02a..20d46a59 100644 --- a/projects/rlm_stg/rlm_stg.c +++ b/projects/rlm_stg/rlm_stg.c @@ -98,7 +98,7 @@ static STG_PAIR* fromVPS(const VALUE_PAIR* pairs) bzero(res[pos].key, sizeof(res[0].key)); bzero(res[pos].value, sizeof(res[0].value)); strncpy(res[pos].key, pairs->name, sizeof(res[0].key)); - vp_prints_value(res[pos].value, sizeof(res[0].value), pairs, 0); + vp_prints_value(res[pos].value, sizeof(res[0].value), (VALUE_PAIR*)pairs, 0); ++pos; pairs = pairs->next; } -- 2.44.2