From 40de7483ff007e66168dbdd17a6f838f5143441e Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 2 Feb 2000 01:15:43 +0000 Subject: [PATCH] lint --- lib/lwres/lwresutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/lwres/lwresutil.c b/lib/lwres/lwresutil.c index 57fe69f132..f1a1ff5834 100644 --- a/lib/lwres/lwresutil.c +++ b/lib/lwres/lwresutil.c @@ -46,7 +46,7 @@ * set. * * On return, the current pointer of "b" will point to the character - * following the string length, the stirng, and the trailing NUL. + * following the string length, the string, and the trailing NULL. * */ int @@ -70,7 +70,7 @@ lwres_string_parse(lwres_buffer_t *b, char **c, isc_uint16_t *len) */ if (!SPACE_REMAINING(b, datalen)) return (LWRES_R_UNEXPECTEDEND); - string = b->base + b->current; + string = (char *)b->base + b->current; lwres_buffer_forward(b, datalen); /*