aboutsummaryrefslogtreecommitdiffstats
path: root/mxget.c
diff options
context:
space:
mode:
Diffstat (limited to 'mxget.c')
-rw-r--r--mxget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mxget.c b/mxget.c
index 91b2b418..482ea568 100644
--- a/mxget.c
+++ b/mxget.c
@@ -40,7 +40,7 @@
/* minimum possible size of MX record in packet */
#define MIN_MX_SIZE 8 /* corresp to "a.com 0" w/ terminating space */
-struct mxentry *getmxrecords(const char *name)
+struct mxentry *getmxrecords(const unsigned char *name)
/* get MX records for given host */
{
unsigned char answer[PACKETSZ], *eom, *cp, *bp;