diff --git a/src/libnfdump/maxmind/mmhash.c b/src/libnfdump/maxmind/mmhash.c index 8bf06b53..bd83d482 100644 --- a/src/libnfdump/maxmind/mmhash.c +++ b/src/libnfdump/maxmind/mmhash.c @@ -480,7 +480,7 @@ void LookupAS(char *asString) { if (as == 0 || as > 0xFFFFFFFFUL || as < 0) { printf("Invalid AS number: %s: %s\n", asString, strerror(errno)); } else { - char *asOrg = LookupASorg(as); + const char *asOrg = LookupASorg(as); if (asOrg == NULL) printf("No DB available!\n"); else