From faedd049af0b842a834402038280630bde658830 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Wed, 20 Jan 2016 11:14:45 +0000 Subject: profile_name_is_valid() returns a malloced string [-Wcast-qual] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I584cdbf6a09e818e0d14c951defdde2fc96787f3 Reviewed-on: https://code.wireshark.org/review/13440 Reviewed-by: João Valverde --- ui/profile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/profile.c') diff --git a/ui/profile.c b/ui/profile.c index 361bd8fe83..2493dd323b 100644 --- a/ui/profile.c +++ b/ui/profile.c @@ -348,7 +348,7 @@ init_profile_list(void) copy_profile_list (); } -const gchar * +gchar * profile_name_is_valid(const gchar *name) { gchar *reason = NULL; -- cgit v1.2.1