projects
/
feed
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
lxc: bump to 2.1.1
[feed/packages.git]
/
utils
/
lxc
/
patches
/
003-compile.patch
1
--- a/src/lxc/confile_utils.c
2
+++ b/src/lxc/confile_utils.c
3
@@ -677,7 +677,7 @@
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
}