summaryrefslogtreecommitdiff
path: root/ui/profile.c
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-01-20 11:14:45 +0000
committerJoão Valverde <j@v6e.pt>2016-01-21 02:32:46 +0000
commitfaedd049af0b842a834402038280630bde658830 (patch)
tree6aba530684b1a0a28c1e717ea1510ddec6ed62bd /ui/profile.c
parent4dd3f668dc9a86be0353d9572d9624bb7cca9bf5 (diff)
downloadwireshark-faedd049af0b842a834402038280630bde658830.tar.gz
profile_name_is_valid() returns a malloced string [-Wcast-qual]
Change-Id: I584cdbf6a09e818e0d14c951defdde2fc96787f3 Reviewed-on: https://code.wireshark.org/review/13440 Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'ui/profile.c')
-rw-r--r--ui/profile.c2
1 files changed, 1 insertions, 1 deletions
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;