Cast to gid_t to fix android build failure
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 <089afc6d81f66f1168a9849e15660feae286e024@ubuntu.com>
Acked-by: Serge E. Hallyn <3df611b026e4639bee8aef7a4beb2e39fcebb313@ubuntu.com>

fwilson42/lxc,LynxChaus/lxc,rldleblanc/lxc,akshaykarle/lxc,Ponce/lxc,bostjan/lxc,codebauss/lxc,hallyn/lxc,raspberrypython/lxc,ysbnim/lxc,codebauss/lxc,thmo/lxc,caglar10ur/lxc,efiop/lxc,terceiro/lxc,ss1h2a3tw/lxc,ioops/lxc,ecarrara/lxc,JohnPeacockMessageSystems/lxc,ioops/lxc,regit/lxc,Ponce/lxc,yubo/lxc,szaszg/lxc,codebauss/lxc,weizhenwei/lxc,sapun/lxc,christiaan/lxc,Pelagicore/lxc,ysbnim/lxc,Pelagicore/lxc,bostjan/lxc,LynxChaus/lxc,rowhit/lxc,virajs/lxc,lazy404/lxc,hfuCN/lxc,hkjolhede/lxc,bmoar/lxc,efiop/lxc,lisongmin/lxc,rldleblanc/lxc,regit/lxc,cjwatson/lxc,ksperis/lxc,Distrotech/lxc,hkjolhede/lxc,Distrotech/lxc,yubo/lxc,GreatFruitOmsk/lxc,Pelagicore/lxc,jirislaby/lxc,Ponce/lxc,GreatFruitOmsk/lxc,major/lxc,tych0/lxc,JohnPeacockMessageSystems/lxc,yubo/lxc,sapun/lxc,christiaan/lxc,aeris/lxc,ecarrara/lxc,tych0/lxc,ss1h2a3tw/lxc,caglar10ur/lxc,thmo/lxc,fwilson42/lxc,hfuCN/lxc,ss1h2a3tw/lxc,cjwatson/lxc,weizhenwei/lxc,weizhenwei/lxc,terceiro/lxc,rowhit/lxc,QingweiPeterLan/cs188-lxc,ioops/lxc,lazy404/lxc,ysbnim/lxc,armcc/lxc,akshaykarle/lxc,jirislaby/lxc,bmoar/lxc,Distrotech/lxc,QingweiPeterLan/cs188-lxc,sapun/lxc,JohnPeacockMessageSystems/lxc,lisongmin/lxc,federicobriata/lxc,QingweiPeterLan/cs188-lxc,raspberrypython/lxc,hallyn/lxc,tych0/lxc,ecarrara/lxc,hallyn/lxc,fwilson42/lxc,jirislaby/lxc,federicobriata/lxc,armcc/lxc,bmoar/lxc,caglar10ur/lxc,lisongmin/lxc,szaszg/lxc,GreatFruitOmsk/lxc,cjwatson/lxc,szaszg/lxc,aeris/lxc,aeris/lxc,armcc/lxc,hfuCN/lxc,federicobriata/lxc,christiaan/lxc,efiop/lxc,rldleblanc/lxc,virajs/lxc,DarknessBeforeDawn/lxc,major/lxc,regit/lxc,hkjolhede/lxc,ksperis/lxc,raspberrypython/lxc,DarknessBeforeDawn/lxc,bostjan/lxc,LynxChaus/lxc,akshaykarle/lxc,DarknessBeforeDawn/lxc,rowhit/lxc,thmo/lxc,ksperis/lxc,virajs/lxc,lazy404/lxc,terceiro/lxc,major/lxc