about summary refs log tree commit diff
path: root/nscd/aicache.c
diff options
context:
space:
mode:
Diffstat (limited to 'nscd/aicache.c')
-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);