diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-01-14 18:19:31 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-01-14 18:19:31 +0000 |
commit | afc159eaf372bac35c9a71cf3208064e692cd1e4 (patch) | |
tree | 0f7de706d1443e20014f0501620cacf162be9aa5 /epan/geoip_db.c | |
parent | 11220f625c38e6e1413f76e592d90d3ce6e74545 (diff) |
Don't cast away constness.
svn path=/trunk/; revision=54798
Diffstat (limited to 'epan/geoip_db.c')
-rw-r--r-- | epan/geoip_db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/geoip_db.c b/epan/geoip_db.c index 6cdb699913..2f1cc4f5b7 100644 --- a/epan/geoip_db.c +++ b/epan/geoip_db.c @@ -123,7 +123,7 @@ geoip_dat_scan_dir(const char *dirname) { /* UAT callbacks */ static void* geoip_db_path_copy_cb(void* dest, const void* orig, size_t len _U_) { - const geoip_db_path_t *m = (geoip_db_path_t *)orig; + const geoip_db_path_t *m = (const geoip_db_path_t *)orig; geoip_db_path_t *d = (geoip_db_path_t *)dest; d->path = g_strdup(m->path); |