]> git.ipfire.org Git - thirdparty/gcc.git/commit
switch-3.c: Fix llp64 warnings
authorJonathan Yong <10walls@gmail.com>
Wed, 2 Apr 2025 11:18:21 +0000 (11:18 +0000)
committerJonathan Yong <10walls@gmail.com>
Wed, 2 Apr 2025 11:22:24 +0000 (11:22 +0000)
commite7912d4a81cf34e05c7ded70910069b691a8bb15
tree7f3de30166feb475949b96a39ca91b6ba9f40068
parenta3e790a9c9fbb84c103c1407d9afd4beae10d512
switch-3.c: Fix llp64 warnings

mtrr_ioctl() uses long and casts it to a pointer. Fix warnings
for llp64 platforms.

Signed-off-by: Jonathan Yong <10walls@gmail.com>
gcc/testsuite/ChangeLog:

* gcc.dg/analyzer/torture/switch-3.c: Fix llp64 warnings.
gcc/testsuite/gcc.dg/analyzer/torture/switch-3.c