2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>

* libcsupport/src/getpwent.c: Remove bogus cast to long.
This commit is contained in:
Ralf Corsepius
2007-03-29 14:26:36 +00:00
parent 0f0318e2de
commit 0a17f53696
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/getpwent.c: Remove bogus cast to long.
* libnetworking/libc/strsep.c: Don't build if provided by libc.
* libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
* libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).

View File

@@ -317,7 +317,7 @@ static int scangr(
*/
if (bufsize < (((memcount+1)*sizeof(char *)) + 15))
return 0;
grp->gr_mem = (char **)(((unsigned long)buffer + 15) & ~15);
grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);
/*
* Fill in pointer array