From 3c7dbda737bdbd6bbd46fe8f06afb9954c19a548 Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Thu, 25 Jul 2013 10:11:50 +0200 Subject: Silence many compilation warnings Mostly deprecation warnings and wrong 'const' handling. --- src/account/aux_lu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/account/aux_lu.c') diff --git a/src/account/aux_lu.c b/src/account/aux_lu.c index 6059665..3b9f047 100644 --- a/src/account/aux_lu.c +++ b/src/account/aux_lu.c @@ -28,7 +28,7 @@ * Get the value of type from the given entity * returns string */ -char* aux_lu_get_str(struct lu_ent* ent, char* type) +const char* aux_lu_get_str(struct lu_ent* ent, char* type) { return g_value_get_string(g_value_array_get_nth(lu_ent_get(ent, type), 0)); } -- cgit