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.
This commit is contained in:
parent
a3e790a9c9
commit
e7912d4a81
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ extern void check_init_u32 (__u32 v);
|
|||
/* Adapted/reduced from arch/x86/kernel/cpu/mtrr/if.c: mtrr_ioctl,
|
||||
which is GPL-2.0 */
|
||||
|
||||
long mtrr_ioctl(unsigned int cmd, unsigned long __arg) {
|
||||
long mtrr_ioctl(unsigned int cmd, __UINTPTR_TYPE__ __arg) {
|
||||
int err = 0;
|
||||
struct mtrr_sentry sentry;
|
||||
struct mtrr_gentry gentry;
|
||||
|
|
Loading…
Add table
Reference in a new issue