[lxc-devel] [lxc/lxc] f03280: build: fix build on android (and ppc)

GitHub noreply at github.com
Tue Mar 15 18:21:02 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: f03280a7609a24f9003472af3e5f6dd1244c5033
      https://github.com/lxc/lxc/commit/f03280a7609a24f9003472af3e5f6dd1244c5033
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2016-03-15 (Tue, 15 Mar 2016)

  Changed paths:
    M src/lxc/criu.c

  Log Message:
  -----------
  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 at canonical.com>


  Commit: 01283774e871e82c28b22cb424632002e76055c4
      https://github.com/lxc/lxc/commit/01283774e871e82c28b22cb424632002e76055c4
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2016-03-15 (Tue, 15 Mar 2016)

  Changed paths:
    M src/lxc/criu.c

  Log Message:
  -----------
  Merge pull request #895 from tych0/fix-android-build

build: fix build on android (and ppc)


Compare: https://github.com/lxc/lxc/compare/75d0c7b3f5f9...01283774e871


More information about the lxc-devel mailing list