Changeset 6b2c3f11 in rtems


Ignore:
Timestamp:
May 29, 2010, 4:30:47 AM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
7cf4893
Parents:
ce3386cd
Message:

2010-05-29 Ralf Corsépius <ralf.corsepius@…>

  • libfs/src/nfsclient/src/xdr_mbuf.c (xdrmbuf_setup): Cast addr to uintptr_t instead of size_t.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rce3386cd r6b2c3f11  
    112010-05-29      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * libfs/src/nfsclient/src/xdr_mbuf.c (xdrmbuf_setup):
     4        Cast addr to uintptr_t instead of size_t.
    35        * librpc/src/xdr/xdr_mem.c (xdr_memcreate):
    46        Cast addr to uintptr_t instead of size_t.
  • cpukit/libfs/src/nfsclient/src/xdr_mbuf.c

    rce3386cd r6b2c3f11  
    148148                xdrs->x_private  = mtod(m,caddr_t);
    149149                xdrs->x_handy    = m->m_len;
    150                 xdrs->x_ops      = ((size_t)xdrs->x_private & (sizeof(int32_t) - 1))
     150                xdrs->x_ops      = ((uintptr_t)xdrs->x_private & (sizeof(int32_t) - 1))
    151151                                                                ? &xdrmbuf_ops_unaligned : &xdrmbuf_ops_aligned;
    152152}
Note: See TracChangeset for help on using the changeset viewer.