--- a/src/cares_wrap.h 2026-07-07 12:42:49.805443924 +0000 +++ b/src/cares_wrap.h 2026-07-07 12:42:49.806876398 +0000 @@ -338,7 +338,7 @@ void* arg, int status, int timeouts, - struct hostent* host) { + const struct hostent* host) { QueryWrap* wrap = FromCallbackPointer(arg); if (wrap == nullptr) return;