]> git.ipfire.org Git - thirdparty/lxc.git/commit
build: fix build on android (and ppc) 895/head
authorTycho Andersen <tycho.andersen@canonical.com>
Tue, 15 Mar 2016 18:01:36 +0000 (12:01 -0600)
committerTycho Andersen <tycho.andersen@canonical.com>
Tue, 15 Mar 2016 18:01:36 +0000 (12:01 -0600)
commitf03280a7609a24f9003472af3e5f6dd1244c5033
tree1eb4f980e33f1e1125ed6bf933df85c16805260f
parent75d0c7b3f5f9ce25b03d17d2c2843d736555c459
build: fix build on android (and ppc)

The problem here is that dev_t on most platforms is `long unsigned`, but on
android (and ppc?) it's `long long unsigned`. Let's just upcast to `long
long unsigned` and use that format string to keep the compilers happy.

Safety first!

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
src/lxc/criu.c