diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-06-04 09:19:04 +0200 |
---|---|---|
committer | The Plumber <50238977+systemd-rhel-bot@users.noreply.github.com> | 2019-12-09 13:13:24 +0100 |
commit | f4344bb4055cab8dc3bbe82a7f3d97fc6fabcb7e (patch) | |
tree | 6c7d4b2c38d329a6fbcb72e1863df3b1bfcdd158 /.ycm_extra_conf.py | |
parent | 613a02b7d67864af1860e9137e2ee101d603463e (diff) | |
download | systemd-f4344bb4055cab8dc3bbe82a7f3d97fc6fabcb7e.tar.gz |
test-cpu-set-util: fix comparison for allocation size
On i386, __cpu_mask is 4 bytes, so we'd check if c.allocated >= 0, and
gcc would warn about a bogus comparison. Let's round up.
Fixes #12726.
(cherry picked from commit a299ce058b41b21c87f36e77e2c563b0ddd1be0d)
Related: #1734787
Diffstat (limited to '.ycm_extra_conf.py')
0 files changed, 0 insertions, 0 deletions