xfree86: Fix a compiler warning on 64-bit.
asm/mtrr.h makes this an unsigned long on 32, but a u64 on 64. Cast it to a long to win. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
9f8f6657cd
commit
76eedb039f
|
@ -204,7 +204,7 @@ mtrr_cull_wc_region(int screenNum, unsigned long base, unsigned long size,
|
|||
xf86DrvMsgVerb(screenNum, X_WARNING, 0,
|
||||
"Failed to remove MMIO "
|
||||
"write-combining range (0x%lx,0x%lx)\n",
|
||||
gent.base, (unsigned long) gent.size);
|
||||
(unsigned long)gent.base, (unsigned long) gent.size);
|
||||
}
|
||||
}
|
||||
return wcreturn;
|
||||
|
|
Loading…
Reference in New Issue
Block a user