[trivial PATCH 09/22] [xlat.c] eliminate build warnings

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


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

diff --git a/src/main/xlat.c b/src/main/xlat.c
index 6f498a9..3220d4b 100644
--- a/src/main/xlat.c
+++ b/src/main/xlat.c
@@ -775,7 +775,7 @@ static int decode_attribute(const char **from, char **to, int freespace,
 			expand2 = TRUE;
 
 		} else if ((p[0] == '"') || p[0] == '\'') {
-			getstring(&p, l, strlen(l));
+			getstring((const char**)&p, l, strlen(l));
 
 		} else {
 			l = p;
-- 
1.6.0.6



More information about the Freeradius-Devel mailing list