[lxc-devel] [PATCH 2/8] Use the standard 'unsigned int' instead or non-standard 'uint'

Serge Hallyn serge.hallyn at ubuntu.com
Wed Jan 29 14:35:42 UTC 2014


Quoting Natanael Copa (ncopa at alpinelinux.org):
> 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 at alpinelinux.org>

Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>

> ---
>  src/lxc/conf.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/lxc/conf.h b/src/lxc/conf.h
> index a0ce3f7..cd4b115 100644
> --- a/src/lxc/conf.h
> +++ b/src/lxc/conf.h
> @@ -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;
>  };
> -- 
> 1.8.5.3
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel


More information about the lxc-devel mailing list