From 8cb12a0d11623133bf88b325cc157ab724f64033 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 20 Jan 1998 23:14:16 +0000 Subject: Typesafification. svn path=/trunk/; revision=1597 --- mxget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mxget.c b/mxget.c index 876b2c88..82f958d9 100644 --- a/mxget.c +++ b/mxget.c @@ -51,7 +51,7 @@ struct mxentry *getmxrecords(const char *name) pmx->name = (char *)NULL; pmx->pref = -1; - n = res_search(name, C_IN,T_MX, &answer, sizeof(answer)); + n = res_search(name, C_IN,T_MX, (unsigned char *)&answer, sizeof(answer)); if (n == -1) return((struct mxentry *)NULL); -- cgit v1.2.3