From 0e07fc00caf01bb0f70ad33ea3bf0686055f52e0 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 17 Mar 2005 09:43:50 +0000 Subject: [PATCH] * nscd/aicache.c (addhstaiX): Tweak type to avoid warning. --- ChangeLog | 4 ++++ nscd/aicache.c | 2 +- sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h | 0 3 files changed, 5 insertions(+), 1 deletion(-) delete mode 100644 sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h diff --git a/ChangeLog b/ChangeLog index 534c730..d6f8b8f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-03-17 Roland McGrath + + * nscd/aicache.c (addhstaiX): Tweak type to avoid warning. + 2005-03-16 Daniel Jacobowitz * elf/elf.h: Define MIPS TLS relocations. diff --git a/nscd/aicache.c b/nscd/aicache.c index bdd2a9b..fb75dc1 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); diff --git a/sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h b/sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h deleted file mode 100644 index e69de29..0000000 -- 2.7.4