about summary refs log tree commit diff
path: root/nscd
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-03-17 09:43:50 +0000
committerRoland McGrath <roland@gnu.org>2005-03-17 09:43:50 +0000
commit0e07fc00caf01bb0f70ad33ea3bf0686055f52e0 (patch)
tree9ee58b94933a5e3aa1f6e95e348ab4a650081e37 /nscd
parent2827be862cd173400135308bd2d9eb0c6b9cb83b (diff)
downloadglibc-0e07fc00caf01bb0f70ad33ea3bf0686055f52e0.tar.gz
glibc-0e07fc00caf01bb0f70ad33ea3bf0686055f52e0.tar.xz
glibc-0e07fc00caf01bb0f70ad33ea3bf0686055f52e0.zip
* nscd/aicache.c (addhstaiX): Tweak type to avoid warning.
Diffstat (limited to 'nscd')
-rw-r--r--nscd/aicache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/aicache.c b/nscd/aicache.c
index bdd2a9b371..fb75dc199d 100644
--- a/nscd/aicache.c
+++ b/nscd/aicache.c
@@ -310,7 +310,7 @@ addhstaiX (struct database_dyn *db, int fd, request_header *req,
 		      *family++ = th[j].h_addrtype;
 		    }
 
-	      char *cp = family;
+	      void *cp = family;
 	      if (canon != NULL)
 		cp = mempcpy (cp, canon, canonlen);