From 6314aee92d4283f40fd64016f450aeab464bb99b Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Mon, 22 Mar 2010 20:23:10 +0100 Subject: [PATCH] Use int32, not int in protocol defining structure "int" is not of a welldefined size, fortunally all existing uses are 32bit. --- spice/protocol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spice/protocol.h b/spice/protocol.h index 5f01a12..02709be 100644 --- a/spice/protocol.h +++ b/spice/protocol.h @@ -544,7 +544,7 @@ typedef struct SPICE_ATTR_PACKED SpiceMsgcDisplayInit { uint8_t pixmap_cache_id; int64_t pixmap_cache_size; //in pixels uint8_t glz_dictionary_id; - int glz_dictionary_window_size; // in pixels + int32_t glz_dictionary_window_size; // in pixels } SpiceMsgcDisplayInit; enum {