]> 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:00 +0000 (18:04 -0500)
commit69f97e3c12fb76cb7e7f740dc0bcd0aadf14451f
tree4d528a1279ec0d69664e94ae262963b41867c3b2
parente97aa8176f8b497ae1dd2fc634f4d94b3bc4632c
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