[sr-dev] git:4.0: dns_cache.c: fix compiler warnings