summaryrefslogtreecommitdiff
path: root/common/lz.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/lz.c')
-rw-r--r--common/lz.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/lz.c b/common/lz.c
index 2350152..d1c4033 100644
--- a/common/lz.c
+++ b/common/lz.c
@@ -47,8 +47,6 @@
#include <config.h>
#endif
-#include <glib.h>
-
#include "spice_common.h"
#include "lz.h"
@@ -539,7 +537,7 @@ int lz_encode(LzContext *lz, LzImageType type, int width, int height, int top_do
encoder->usr->error(encoder->usr, "lz encoder reading image segments failed\n");
}
- encode_32(encoder, GUINT32_TO_LE(LZ_MAGIC));
+ encode_32(encoder, LZ_MAGIC);
encode_32(encoder, LZ_VERSION);
encode_32(encoder, type);
encode_32(encoder, width);