From ff2e9e3c3816b7b828bbb023639db52364d729ff Mon Sep 17 00:00:00 2001 From: hasso Date: Tue, 5 Oct 2004 21:01:23 +0000 Subject: Number of warnings is down to 3 again in lib directory. A lot of const's added to strings and a lot of int -> unsigned int changes. --- lib/if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/if.c') diff --git a/lib/if.c b/lib/if.c index 43e84a43..8fbaa76a 100644 --- a/lib/if.c +++ b/lib/if.c @@ -203,7 +203,7 @@ ifindex2ifname (unsigned int index) if (ifp->ifindex == index) return ifp->name; } - return "unknown"; + return (char *) "unknown"; } /* Interface existance check by interface name. */ -- cgit v1.2.3