From: Erlon Cruz <erlon.cruz@xxxxxxxxxxxxxxxxxx> Signed-off-by: Erlon R. Cruz <erlon.cruz@xxxxxxxxxxxxxxxxxx> Signed-off-by: Fabiano Fidêncio <Fabiano.Fidêncio@xxxxxxxxxxxxxxxxxxxxx> Signed-off-by: Rafael F. Santos <Rafael.Santos@xxxxxxxxxxxxxxxxxxxxx> --- common/lz.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/lz.c b/common/lz.c index 568aae7..f022a26 100644 --- a/common/lz.c +++ b/common/lz.c @@ -528,7 +528,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, LZ_MAGIC); + encode_32(encoder, htole32(LZ_MAGIC)); encode_32(encoder, LZ_VERSION); encode_32(encoder, type); encode_32(encoder, width); -- 1.7.4.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel