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

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


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: b4c1e35d24b3f6d810c4d01230ad668e9418dc2d
      https://github.com/lxc/lxc/commit/b4c1e35d24b3f6d810c4d01230ad668e9418dc2d
  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