aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2018-03-09 17:38:59 +0100
committerPascal Quantin <pascal.quantin@gmail.com>2018-03-09 16:40:34 +0000
commitc2639090de67e0100653741680b70f2ae17a3fa4 (patch)
tree23c299fa0ffb0cb298cd96ad834c94e96ef1425d
parent6c077a081870653268331a848f2543778d372028 (diff)
maxminf_db.c: ad an explicit cast to please gcc 7.3.1
Change-Id: Ie97008ece77e485948a3a8d418a49b77c1a52a33 Reviewed-on: https://code.wireshark.org/review/26395 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
-rw-r--r--epan/maxmind_db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/maxmind_db.c b/epan/maxmind_db.c
index 84fbb3a420..3229b36963 100644
--- a/epan/maxmind_db.c
+++ b/epan/maxmind_db.c
@@ -273,7 +273,7 @@ static void mmdb_resolve_start(void) {
MMDB_DEBUG("spawned %s pid %d", mmdbresolve, pipe_pid);
for (guint i = 0; i < args->len; i++) {
- char *arg = g_ptr_array_index(args, i);
+ char *arg = (char *)g_ptr_array_index(args, i);
MMDB_DEBUG("args: %s", arg);
g_free(arg);
}