diff options
author | Collin Funk <collin.funk1@gmail.com> | 2025-03-25 11:17:55 -0400 |
---|---|---|
committer | Carlos O'Donell <carlos@redhat.com> | 2025-03-25 23:55:08 -0400 |
commit | 3263675250cbcbbcc76ede4f7c660418bd345a11 (patch) | |
tree | c2ab16c865886a6eb6fdcf4d1d475b6c2ffcfbdb /sysdeps/unix/sysv/linux/tst-rseq-nptl-static.c | |
parent | cd335350021fd0b7ac533c83717ee38832fd9887 (diff) | |
download | glibc-3263675250cbcbbcc76ede4f7c660418bd345a11.zip glibc-3263675250cbcbbcc76ede4f7c660418bd345a11.tar.gz glibc-3263675250cbcbbcc76ede4f7c660418bd345a11.tar.bz2 |
linux: Fix integer overflow warnings when including <sys/mount.h> [BZ #32708]
Using gcc -Wshift-overflow=2 -Wsystem-headers to compile a file
including <sys/mount.h> will cause a warning since 1 << 31 is undefined
behavior on platforms where int is 32-bits.
Signed-off-by: Collin Funk <collin.funk1@gmail.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/tst-rseq-nptl-static.c')
0 files changed, 0 insertions, 0 deletions