diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-06-18 15:44:04 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-06-18 20:27:32 +0200 |
commit | 0b82006733e2eba89c32ac4dfb35e6db49cfa992 (patch) | |
tree | 46155bfa3dbf903d52be9bcb7375a2d4172ec31c /common | |
parent | 3a07edb4afa00dd897a3b9f07c9b5c10f5b39b8e (diff) | |
download | spice-0b82006733e2eba89c32ac4dfb35e6db49cfa992.tar.gz spice-0b82006733e2eba89c32ac4dfb35e6db49cfa992.tar.xz spice-0b82006733e2eba89c32ac4dfb35e6db49cfa992.zip |
Make pointer types in messages be 64bit in memory
Right now we always assume pointers are stored as SPICE_ADDRESS,
i.e. 64bit, independent on the size sent on the network.
This is required for 64bit architectures of course, but slightly overkill
on 32bit architectures, so needs fixing when all SPICE_ADDRESS elements
can be made internal.
Diffstat (limited to 'common')
-rw-r--r-- | common/messages.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/messages.h b/common/messages.h index cf9523e2..f6c2aebd 100644 --- a/common/messages.h +++ b/common/messages.h @@ -442,8 +442,8 @@ typedef struct SpiceMsgcTunnelAddGenericService { uint32_t id; uint32_t group; uint32_t port; - uint32_t name; - uint32_t description; + uint64_t name; + uint64_t description; } SpiceMsgcTunnelAddGenericService; typedef struct SpiceMsgcTunnelAddPrintService { |