]> git.ipfire.org Git - thirdparty/lxc.git/commit
don't compare unsigned values as negative ones
authorTycho Andersen <tycho.andersen@canonical.com>
Mon, 13 Apr 2015 22:43:30 +0000 (16:43 -0600)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 13 Apr 2015 23:04:23 +0000 (18:04 -0500)
commit3149bd4c0e81973b3db2e1230bd1784dc222a4ed
treeace1a5e7f359a7b468370b086fa285ae343423e5
parent8721f7f43185208e0c1802ff2bc03108fd3e3204
don't compare unsigned values as negative ones

Instead, check that the result is larger than its parts.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/utils.c