From 930775ddb7986d94f81f5ad12c08be8b614da17c Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 19 Aug 2008 18:47:54 +0000 Subject: 2008-08-19 Joel Sherrill * libnetworking/kern/kern_sysctl.c, libnetworking/libc/res_debug.c: Fix warnings. --- cpukit/libnetworking/libc/res_debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/libnetworking/libc/res_debug.c') diff --git a/cpukit/libnetworking/libc/res_debug.c b/cpukit/libnetworking/libc/res_debug.c index e34c4c23f0..a614e8437d 100644 --- a/cpukit/libnetworking/libc/res_debug.c +++ b/cpukit/libnetworking/libc/res_debug.c @@ -726,9 +726,9 @@ loc_aton(ascii, binary) cp = ascii; maxcp = cp + strlen(ascii); - lltemp1 = latlon2ul(&cp, &which1); + lltemp1 = latlon2ul((char **)&cp, &which1); - lltemp2 = latlon2ul(&cp, &which2); + lltemp2 = latlon2ul((char **)&cp, &which2); switch (which1 + which2) { case 3: /* 1 + 2, the only valid combination */ -- cgit v1.2.3