summaryrefslogtreecommitdiff
path: root/i386/i386at
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386at')
-rw-r--r--i386/i386at/kd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c
index 8b09ada..9182e26 100644
--- a/i386/i386at/kd.c
+++ b/i386/i386at/kd.c
@@ -561,7 +561,7 @@ kdmmap(dev, off, prot)
off_t off;
int prot;
{
- if ((u_int) off >= (128*1024))
+ if (off >= (128*1024))
return(-1);
/* Get page frame number for the page to be mapped. */