mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/getpwent.c: Remove bogus cast to long.
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
|
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/strsep.c: Don't build if provided by libc.
|
||||||
* libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
|
* libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
|
||||||
* libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
|
* libnetworking/sys/select.h: Remove selrecord, selwakeup (Unused).
|
||||||
|
|||||||
@@ -317,7 +317,7 @@ static int scangr(
|
|||||||
*/
|
*/
|
||||||
if (bufsize < (((memcount+1)*sizeof(char *)) + 15))
|
if (bufsize < (((memcount+1)*sizeof(char *)) + 15))
|
||||||
return 0;
|
return 0;
|
||||||
grp->gr_mem = (char **)(((unsigned long)buffer + 15) & ~15);
|
grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Fill in pointer array
|
* Fill in pointer array
|
||||||
|
|||||||
Reference in New Issue
Block a user