[trivial PATCH 18/22] [parse.c] eliminate build warnings

Wang Tinggong wangtinggong at gmail.com
Mon Feb 1 18:31:21 CET 2010


Signed-off-by: Wang Tinggong <wangtinggong at gmail.com>
---
 src/modules/rlm_policy/parse.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/modules/rlm_policy/parse.c b/src/modules/rlm_policy/parse.c
index 8bc9c64..a57f546 100644
--- a/src/modules/rlm_policy/parse.c
+++ b/src/modules/rlm_policy/parse.c
@@ -1532,7 +1532,7 @@ static int parse_named_policy(policy_lex_file_t *lexer)
 	}
 
 	if ((lexer->debug & POLICY_DEBUG_PRINT_POLICY) != 0) {
-		rlm_policy_print(this);
+		rlm_policy_print((const policy_item_t *)this);
 	}
 
        	return 1;
-- 
1.6.0.6



More information about the Freeradius-Devel mailing list