diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-03-17 00:25:34 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-03-17 00:25:34 +0000 |
commit | 310e63cd2808fd351da7110fafebfc9dd94b516e (patch) | |
tree | d804b0e2d827efc2e2d2ed6c7255ba7c813dc124 /nuttx/fs/nfs/xdr_subs.h | |
parent | 2286099a155d9acd808665a1a86c382f3be8466e (diff) | |
download | px4-firmware-310e63cd2808fd351da7110fafebfc9dd94b516e.tar.gz px4-firmware-310e63cd2808fd351da7110fafebfc9dd94b516e.tar.bz2 px4-firmware-310e63cd2808fd351da7110fafebfc9dd94b516e.zip |
NFS update; fix STM32 enabling of CAN2 clock
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4494 7fd9a85b-ad96-42d3-883c-3090e2eb8679
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 */ |