diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-03-17 00:25:34 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-03-17 00:25:34 +0000 |
commit | c806f47ab3d2552e20670bef078392e0dd96eb7f (patch) | |
tree | d804b0e2d827efc2e2d2ed6c7255ba7c813dc124 /nuttx/fs/nfs/xdr_subs.h | |
parent | 7bfcfe92cfcefc051348012db2ee0a79956a1a82 (diff) | |
download | px4-nuttx-c806f47ab3d2552e20670bef078392e0dd96eb7f.tar.gz px4-nuttx-c806f47ab3d2552e20670bef078392e0dd96eb7f.tar.bz2 px4-nuttx-c806f47ab3d2552e20670bef078392e0dd96eb7f.zip |
NFS update; fix STM32 enabling of CAN2 clock
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4494 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/nfs/xdr_subs.h')
-rw-r--r-- | nuttx/fs/nfs/xdr_subs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/fs/nfs/xdr_subs.h b/nuttx/fs/nfs/xdr_subs.h index 336fbc587..6752d1f41 100644 --- a/nuttx/fs/nfs/xdr_subs.h +++ b/nuttx/fs/nfs/xdr_subs.h @@ -92,12 +92,12 @@ } #define fxdr_hyper(f) \ - ((((uint64_t)ntohl(((u_int32_t *)(f))[0])) << 32) | \ - (uint64_t)(ntohl(((u_int32_t *)(f))[1]))) + ((((uint64_t)ntohl(((uint32_t *)(f))[0])) << 32) | \ + (uint64_t)(ntohl(((uint32_t *)(f))[1]))) #define txdr_hyper(f, t) { \ - ((u_int32_t *)(t))[0] = htonl((u_int32_t)((f) >> 32)); \ - ((u_int32_t *)(t))[1] = htonl((u_int32_t)((f) & 0xffffffff)); \ + ((uint32_t *)(t))[0] = htonl((uint32_t)((f) >> 32)); \ + ((uint32_t *)(t))[1] = htonl((uint32_t)((f) & 0xffffffff)); \ } #endif /* __FS_NFS_XDR_SUBS_H */ |