diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-05-29 04:30:47 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-05-29 04:30:47 +0000 |
commit | 6b2c3f1158c09844eabbad56698869711d5c0cfb (patch) | |
tree | bd1df45b7ce95fe20151a7644306642499ee0641 /cpukit/libfs | |
parent | 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-6b2c3f1158c09844eabbad56698869711d5c0cfb.tar.bz2 |
2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/src/xdr_mbuf.c (xdrmbuf_setup):
Cast addr to uintptr_t instead of size_t.
Diffstat (limited to 'cpukit/libfs')
-rw-r--r-- | cpukit/libfs/src/nfsclient/src/xdr_mbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/nfsclient/src/xdr_mbuf.c b/cpukit/libfs/src/nfsclient/src/xdr_mbuf.c index e758b9ef2a..d06bc068f5 100644 --- a/cpukit/libfs/src/nfsclient/src/xdr_mbuf.c +++ b/cpukit/libfs/src/nfsclient/src/xdr_mbuf.c @@ -147,7 +147,7 @@ MBPrivate mbp = (MBPrivate)xdrs->x_base; mbp->mcurrent = m; xdrs->x_private = mtod(m,caddr_t); xdrs->x_handy = m->m_len; - xdrs->x_ops = ((size_t)xdrs->x_private & (sizeof(int32_t) - 1)) + xdrs->x_ops = ((uintptr_t)xdrs->x_private & (sizeof(int32_t) - 1)) ? &xdrmbuf_ops_unaligned : &xdrmbuf_ops_aligned; } |