dictzip: Fix on big endian systems
authorAlexander Graf <agraf@suse.de>
Mon, 15 Jun 2015 15:36:32 +0000 (17:36 +0200)
committerhyokeun <hyokeun.jeon@samsung.com>
Tue, 6 Sep 2016 06:55:35 +0000 (15:55 +0900)
commitedd1c47dc789a3a492fdc3bc8e70c3a2620b35e2
tree8d3ff409469c80f62cde95ba2bf27fb5a55a8192
parent47daf0814857cacd2be64ffe4a3846edc9d76a2f
dictzip: Fix on big endian systems

The dictzip code in SLE11 received some treatment over time to support
running on big endian hosts. Somewhere in the transition to SLE12 this
support got lost. Add it back in again from the SLE11 code base.

Furthermore while at it, fix up the debug prints to not emit warnings.

[AG: BSC#937572]
Signed-off-by: Alexander Graf <agraf@suse.de>
[AF: Rebased for v2.7.0-rc2]
Signed-off-by: Andreas Färber <afaerber@suse.de>
block/dictzip.c