diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2016-01-20 11:14:45 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2016-01-21 02:32:46 +0000 |
commit | faedd049af0b842a834402038280630bde658830 (patch) | |
tree | 6aba530684b1a0a28c1e717ea1510ddec6ed62bd /ui/profile.h | |
parent | 4dd3f668dc9a86be0353d9572d9624bb7cca9bf5 (diff) | |
download | wireshark-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.h')
-rw-r--r-- | ui/profile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/profile.h b/ui/profile.h index 6d4d26a887..b4beef5808 100644 --- a/ui/profile.h +++ b/ui/profile.h @@ -115,7 +115,7 @@ const gchar *get_profile_parent (const gchar *profilename); * @param name Profile name * @return NULL if the name is valid or an error message otherwise. */ -const gchar *profile_name_is_valid(const gchar *name); +gchar *profile_name_is_valid(const gchar *name); /** Remove the current profile. * |