diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-03-03 00:23:08 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-03-03 00:23:08 +0000 |
commit | c2bd949bf6b75f3efd2e42b733f8b6c522cd8e83 (patch) | |
tree | ef8db9758096343c31fff7411bba10a0d201bc2a /nuttx/fs | |
parent | 82f12f73345c4e1c5bd314cb32266d1a4233d5e0 (diff) | |
download | px4-firmware-c2bd949bf6b75f3efd2e42b733f8b6c522cd8e83.tar.gz px4-firmware-c2bd949bf6b75f3efd2e42b733f8b6c522cd8e83.tar.bz2 px4-firmware-c2bd949bf6b75f3efd2e42b733f8b6c522cd8e83.zip |
Remove quad_t
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4447 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/fs')
-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 97bb24aee..336fbc587 100644 --- a/nuttx/fs/nfs/xdr_subs.h +++ b/nuttx/fs/nfs/xdr_subs.h @@ -1,5 +1,5 @@ /**************************************************************************** - * fs/nfs/rpc_types.h + * fs/nfs/xdr_subs.h * Definitions for Sun RPC Version 2, from * "RPC: Remote Procedure Call Protocol Specification" RFC1057 * @@ -58,7 +58,7 @@ * * To simplify the implementation, we use ntohl/htonl even on big-endian * machines, and count on them being `#define'd away. Some of these - * might be slightly more efficient as quad_t copies on a big-endian, + * might be slightly more efficient as int64_t copies on a big-endian, * but we cannot count on their alignment anyway. */ @@ -92,8 +92,8 @@ } #define fxdr_hyper(f) \ - ((((u_quad_t)ntohl(((u_int32_t *)(f))[0])) << 32) | \ - (u_quad_t)(ntohl(((u_int32_t *)(f))[1]))) + ((((uint64_t)ntohl(((u_int32_t *)(f))[0])) << 32) | \ + (uint64_t)(ntohl(((u_int32_t *)(f))[1]))) #define txdr_hyper(f, t) { \ ((u_int32_t *)(t))[0] = htonl((u_int32_t)((f) >> 32)); \ |