$NetBSD: patch-ab,v 1.3 2002/03/13 02:16:13 wiz Exp $ --- dns.c.orig Sat Mar 4 02:46:55 2000 +++ dns.c @@ -751,7 +751,7 @@ void dorequest(char *s,int type,word id){ packetheader *hp; int r,i; - int buf[(MaxPacketsize/sizeof (int))+1]; + unsigned char buf[MaxPacketsize]; r = res_mkquery(QUERY,s,C_IN,type,NULL,0,NULL,buf,MaxPacketsize); if (r == -1){ restell("Resolver error: Query too large.");