diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-07-27 17:02:39 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2011-07-28 11:29:41 +0200 |
commit | 9fd841b82b7c8c357347f4b0d211637932242d7e (patch) | |
tree | 82e321de52c5b4c06f6817edae80c9b8408ffdc9 /common | |
parent | d5a83e57aedd09241f8c09895df69206ceb782c3 (diff) |
fix typo in big endian code path
uint63_t should be uint64_t
Diffstat (limited to 'common')
-rw-r--r-- | common/marshaller.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/marshaller.c b/common/marshaller.c index 97c65af..242d037 100644 --- a/common/marshaller.c +++ b/common/marshaller.c @@ -31,8 +31,8 @@ #define write_uint16(ptr,v) (*((uint16_t)(ptr)) = SPICE_BYTESWAP16((uint16_t)(v))) #define write_int32(ptr,v) (*((int32_t)(ptr)) = SPICE_BYTESWAP32((uint32_t)(v))) #define write_uint32(ptr,v) (*((uint32_t)(ptr)) = SPICE_BYTESWAP32((uint32_t)(v))) -#define write_int64(ptr,v) (*((int64_t)(ptr)) = SPICE_BYTESWAP64((uint63_t)(v))) -#define write_uint64(ptr,v) (*((uint64_t)(ptr)) = SPICE_BYTESWAP64((uint63_t)(v))) +#define write_int64(ptr,v) (*((int64_t)(ptr)) = SPICE_BYTESWAP64((uint64_t)(v))) +#define write_uint64(ptr,v) (*((uint64_t)(ptr)) = SPICE_BYTESWAP64((uint64_t)(v))) #else #define write_int8(ptr,v) (*((int8_t *)(ptr)) = v) #define write_uint8(ptr,v) (*((uint8_t *)(ptr)) = v) |