]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Use the standard 'unsigned int' instead or non-standard 'uint'
authorNatanael Copa <ncopa@alpinelinux.org>
Wed, 29 Jan 2014 14:23:44 +0000 (14:23 +0000)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 29 Jan 2014 16:15:46 +0000 (16:15 +0000)
This fixes compile error when build with musl libc:
conf.h:92:2: error: unknown type name 'uint'
  uint   fmask;
  ^

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/conf.h

index a0ce3f7b5ddee2ef315c863255f5f3b84e0de9f0..cd4b115bd1bffb42c5a7c71380c71a5efeb113d4 100644 (file)
@@ -88,8 +88,8 @@ struct ifla_veth {
 };
 
 struct ifla_vlan {
-       uint   flags;
-       uint   fmask;
+       unsigned int   flags;
+       unsigned int   fmask;
        unsigned short   vid;
        unsigned short   pad;
 };