lxc: bump to 2.1.0
[feed/packages.git] / utils / lxc / patches / 003-compile.patch
1 --- a/src/lxc/confile_utils.c
2 +++ b/src/lxc/confile_utils.c
3 @@ -690,7 +690,7 @@ bool parse_limit_value(const char **value, unsigned long *res)
4 char *endptr = NULL;
5
6 if (strncmp(*value, "unlimited", sizeof("unlimited") - 1) == 0) {
7 - *res = RLIM_INFINITY;
8 + *res = (unsigned long)RLIM_INFINITY;
9 *value += sizeof("unlimited") - 1;
10 return true;
11 }