devmem2: fix output when _FILE_OFFSET_BITS=64
authorColin Didier <colin.didier@devialet.com>
Thu, 19 Jun 2014 16:13:37 +0000 (18:13 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 29 Jun 2014 10:43:29 +0000 (12:43 +0200)
commitc614884730f1251a2fba98c1761053d2598efd38
treea09b78361f13fc6fbbe6b28ce7fa92e0cd28c173
parent17eaa5d3ab1982a89c82e603484edbed8f712e16
devmem2: fix output when _FILE_OFFSET_BITS=64

When built with _FILE_OFFSET_BITS=64, off_t becomes an long long int
and was printed as an unsigned int which lead to a garbled output.

Signed-off-by: Colin Didier <colin.didier@devialet.com>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@devialet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/devmem2/devmem2-0001-be-coherent-in-type-usage.patch [new file with mode: 0644]