2005-03-17 Roland McGrath <roland@redhat.com>
authorroland <roland>
Thu, 17 Mar 2005 09:43:42 +0000 (09:43 +0000)
committerroland <roland>
Thu, 17 Mar 2005 09:43:42 +0000 (09:43 +0000)
* nscd/aicache.c (addhstaiX): Tweak type to avoid warning.

nscd/aicache.c

index bdd2a9b..fb75dc1 100644 (file)
@@ -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);