[lxc-devel] [lxc/lxc] 8c760b: Cast to gid_t to fix android build failure

GitHub noreply at github.com
Mon Jun 30 19:19:35 UTC 2014


  Branch: refs/heads/stable-1.0
  Home:   https://github.com/lxc/lxc
  Commit: 8c760bbd101b033ab7dbbd518f4500572b204d9a
      https://github.com/lxc/lxc/commit/8c760bbd101b033ab7dbbd518f4500572b204d9a
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-06-30 (Mon, 30 Jun 2014)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  Cast to gid_t to fix android build failure

stat.st_gid is unsigned long in bionic instead of the expected gid_t, so
just cast it to gid_t.

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>




More information about the lxc-devel mailing list