Changeset 0a17f53 in rtems


Ignore:
Timestamp:
Mar 29, 2007, 2:26:36 PM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
6209041
Parents:
0f0318e
Message:

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

  • libcsupport/src/getpwent.c: Remove bogus cast to long.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r0f0318e r0a17f53  
    112007-03-29      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * libcsupport/src/getpwent.c: Remove bogus cast to long.
    34        * libnetworking/libc/strsep.c: Don't build if provided by libc.
    45        * libnetworking/libc/rcmd.c: Eliminate __P(). Cosmetics.
  • cpukit/libcsupport/src/getpwent.c

    r0f0318e r0a17f53  
    318318  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))
    319319    return 0;
    320   grp->gr_mem = (char **)(((unsigned long)buffer + 15) & ~15);
     320  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);
    321321
    322322  /*
Note: See TracChangeset for help on using the changeset viewer.