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:32:46 +0200 |
commit | 830410e3bee3c0e410af07e833d76ecdf96a8f12 (patch) | |
tree | ee306f74aa4b2562e47540f8d86149e1909611d3 /common/marshaller.c | |
parent | 608713b9acebdc83f10eaf14888dd9d6b07f4a3e (diff) | |
download | spice-830410e3bee3c0e410af07e833d76ecdf96a8f12.tar.gz spice-830410e3bee3c0e410af07e833d76ecdf96a8f12.tar.xz spice-830410e3bee3c0e410af07e833d76ecdf96a8f12.zip |
fix typo in big endian code path
uint63_t should be uint64_t
Diffstat (limited to 'common/marshaller.c')
-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 2d62cd84..31a5669e 100644 --- a/common/marshaller.c +++ b/common/marshaller.c @@ -32,8 +32,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) |