aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/input/ps2/mouse.c
diff options
context:
space:
mode:
authorMarvin Borner2020-05-07 00:16:52 +0200
committerMarvin Borner2020-05-07 00:16:52 +0200
commit31767b532e69c5a63df0106fa08e137e3106a449 (patch)
treeea7a91347e030c0b120361b7d9975547a5af19d1 /src/kernel/input/ps2/mouse.c
parent8083536f321ad8a12ad4668c2bf41a65c3e3b2f6 (diff)
Some fixes here and there...
Also implemented serial console in userspace
Diffstat (limited to 'src/kernel/input/ps2/mouse.c')
-rw-r--r--src/kernel/input/ps2/mouse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/input/ps2/mouse.c b/src/kernel/input/ps2/mouse.c
index ce3158e..d0a0861 100644
--- a/src/kernel/input/ps2/mouse.c
+++ b/src/kernel/input/ps2/mouse.c
@@ -60,7 +60,7 @@ void mouse_handler(struct regs *r)
void mouse_wait(u8 a_type)
{
- unsigned int time_out = 100000;
+ u32 time_out = 100000;
if (a_type == 0) {
while (time_out--)
if ((inb(0x64) & 1) == 1)