state: fix formatting of "off_t" variables
Explicitely casting an "off_t" variable to "long long" and formatting it via
"%lld" or "%llx" respectively makes 32- as well as 64-bit compilers
happy (tested with gcc-8.2.1 and clang-7.0.1).

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
1 parent fc86ad0 commit 89d033284cb69f834c1f2195c9e99a3d7f585cf1
@Ulrich Ölmann Ulrich Ölmann authored on 3 Feb 2019
Roland Hieber committed on 7 Feb 2019
Showing 2 changed files
View
src/barebox-state/backend_bucket_circular.c
View
src/barebox-state/backend_storage.c