diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-03-29 14:26:36 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-03-29 14:26:36 +0000 |
commit | 0a17f536961646ed1c055f31d319f41a8bc6bda9 (patch) | |
tree | c02711865cca9468624824841c67e7fd2478b625 /cpukit/libcsupport/src/getpwent.c | |
parent | 2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-0a17f536961646ed1c055f31d319f41a8bc6bda9.tar.bz2 |
2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/getpwent.c: Remove bogus cast to long.
Diffstat (limited to 'cpukit/libcsupport/src/getpwent.c')
-rw-r--r-- | cpukit/libcsupport/src/getpwent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/getpwent.c b/cpukit/libcsupport/src/getpwent.c index 1236ccacca..af77444a86 100644 --- a/cpukit/libcsupport/src/getpwent.c +++ b/cpukit/libcsupport/src/getpwent.c @@ -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 |