diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-08-01 04:40:20 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2024-08-01 10:49:40 +0200 |
commit | a8bc75089d8ecca60fa616670086c322c99b8aa5 (patch) | |
tree | 5d7f7fda94fbae97ca58ef1d08d7d3777ba9b052 /.github | |
parent | Merge pull request #33888 from YHNdnzj/followups (diff) | |
download | systemd-a8bc75089d8ecca60fa616670086c322c99b8aa5.tar.xz systemd-a8bc75089d8ecca60fa616670086c322c99b8aa5.zip |
journalctl: fix compile error on i386
Fixes the following error:
===
In file included from ../src/basic/macro.h:13,
from ../src/basic/dirent-util.h:8,
from ../src/journal/journalctl-misc.c:3:
../src/journal/journalctl-misc.c: In function 'show_log_ids':
../src/journal/journalctl-misc.c:107:22: error: comparison is always true due to limited range of data type [-Werror=type-limits]
107 | assert(n_ids < INT64_MAX);
| ^
../src/fundamental/macro-fundamental.h:70:44: note: in definition of macro '_unlikely_'
70 | #define _unlikely_(x) (__builtin_expect(!!(x), 0))
| ^
../src/basic/macro.h:165:22: note: in expansion of macro 'assert_message_se'
165 | #define assert(expr) assert_message_se(expr, #expr)
| ^~~~~~~~~~~~~~~~~
../src/journal/journalctl-misc.c:107:9: note: in expansion of macro 'assert'
107 | assert(n_ids < INT64_MAX);
| ^~~~~~
cc1: all warnings being treated as errors
===
Follow-up for 0a8c1f6212a874b542a57ed5416e7d3575d2da93.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions