aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-01-20 23:14:16 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-01-20 23:14:16 +0000
commit8cb12a0d11623133bf88b325cc157ab724f64033 (patch)
treec6b42c099938231f8589bce76549aa6f87bb94b7
parentc052c34a057f079265c748259c1b2b5893596ba1 (diff)
downloadfetchmail-8cb12a0d11623133bf88b325cc157ab724f64033.tar.gz
fetchmail-8cb12a0d11623133bf88b325cc157ab724f64033.tar.bz2
fetchmail-8cb12a0d11623133bf88b325cc157ab724f64033.zip
Typesafification.
svn path=/trunk/; revision=1597
-rw-r--r--mxget.c2
1 files changed, 1 insertions, 1 deletions
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);