summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/getpwent.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-03-29 14:26:36 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-03-29 14:26:36 +0000
commit0a17f536961646ed1c055f31d319f41a8bc6bda9 (patch)
treec02711865cca9468624824841c67e7fd2478b625 /cpukit/libcsupport/src/getpwent.c
parent2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-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.c2
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