diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2018-03-06 21:36:22 +0100 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2018-03-06 21:38:42 +0000 |
commit | f0f4adc9d9962376b545a72f5448be8f51676725 (patch) | |
tree | e5f740d961fdc110c63d8f2abe9bb446a5e17818 /epan/maxmind_db.c | |
parent | b0b87e4b5f8dbdd69c515d63fa4413347179beb4 (diff) |
maxmind_db.c: add an explicit cast to please gcc 7.3.1
Change-Id: Idb2ae052804fb523d6769fe50b5bb4ba45e40f79
Reviewed-on: https://code.wireshark.org/review/26283
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'epan/maxmind_db.c')
-rw-r--r-- | epan/maxmind_db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/maxmind_db.c b/epan/maxmind_db.c index 03e705660d..567c5374bc 100644 --- a/epan/maxmind_db.c +++ b/epan/maxmind_db.c @@ -238,7 +238,7 @@ static void mmdb_resolve_start(void) { g_ptr_array_add(args, mmdbresolve); for (guint i = 0; i < mmdb_file_arr->len; i++) { g_ptr_array_add(args, g_strdup("-f")); - g_ptr_array_add(args, g_strdup(g_ptr_array_index(mmdb_file_arr, i))); + g_ptr_array_add(args, g_strdup((const gchar *)g_ptr_array_index(mmdb_file_arr, i))); } g_ptr_array_add(args, NULL); |