mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
Re-fix a pointer/integer warning.
This commit is contained in:
parent
d1693e1701
commit
30d1ca27fe
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91368
@ -380,7 +380,7 @@ bios16(struct bios_args *args, char *fmt, ...)
|
||||
args->seg.code32.limit = 0xffff;
|
||||
|
||||
ptd = (u_int *)rcr3();
|
||||
if (ptd == IdlePTD) {
|
||||
if (ptd == (u_int *)IdlePTD) {
|
||||
/*
|
||||
* no page table, so create one and install it.
|
||||
*/
|
||||
|
@ -380,7 +380,7 @@ bios16(struct bios_args *args, char *fmt, ...)
|
||||
args->seg.code32.limit = 0xffff;
|
||||
|
||||
ptd = (u_int *)rcr3();
|
||||
if (ptd == IdlePTD) {
|
||||
if (ptd == (u_int *)IdlePTD) {
|
||||
/*
|
||||
* no page table, so create one and install it.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user