diff options
author | obrien <obrien@FreeBSD.org> | 1999-08-10 16:24:12 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1999-08-10 16:24:12 +0800 |
commit | fb48f8123a1ec29414e057b9708eec490302b3de (patch) | |
tree | ce2e2712d9a28ab21d262d6b26790e9c51cca857 | |
parent | bc12c09549f58766f1a98ff2eec60eb29a7f4812 (diff) | |
download | freebsd-ports-gnome-fb48f8123a1ec29414e057b9708eec490302b3de.tar.gz freebsd-ports-gnome-fb48f8123a1ec29414e057b9708eec490302b3de.tar.zst freebsd-ports-gnome-fb48f8123a1ec29414e057b9708eec490302b3de.zip |
Use proper type in call to res_mkquery()
Submitted by: gcc -Wall and the letters R,T,F, and M
-rw-r--r-- | net/mtr/files/patch-02 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/mtr/files/patch-02 b/net/mtr/files/patch-02 new file mode 100644 index 000000000000..f6c38f83395a --- /dev/null +++ b/net/mtr/files/patch-02 @@ -0,0 +1,11 @@ +--- dns.c.orig Wed Jun 9 11:09:20 1999 ++++ dns.c Tue Aug 10 01:21:12 1999 +@@ -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."); |