From 0f276adbb23542471bc30a2479e5fcdd5f475d72 Mon Sep 17 00:00:00 2001 From: rlar Date: Mon, 29 Feb 2016 18:43:05 +0100 Subject: ndlookup(), char *, to get rid of casts and warnings --- src/sym.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sym.c') diff --git a/src/sym.c b/src/sym.c index 8eb51cc..14fb161 100644 --- a/src/sym.c +++ b/src/sym.c @@ -189,9 +189,9 @@ void ndinstal (const char *name, char definition[]) * Returns a nil pointer if the name definition does not exist. */ -unsigned char *ndlookup (const char *nd) +char *ndlookup (const char *nd) { - return (unsigned char *) findsym (nd, ndtbl, NAME_TABLE_HASH_SIZE)->str_val; + return findsym (nd, ndtbl, NAME_TABLE_HASH_SIZE)->str_val; } -- cgit v1.2.3