aboutsummaryrefslogtreecommitdiffstats
path: root/pit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pit.cpp')
-rw-r--r--pit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pit.cpp b/pit.cpp
index 4cafc57..f3baa4e 100644
--- a/pit.cpp
+++ b/pit.cpp
@@ -9,7 +9,7 @@ static void timer_callback(const Registers& regs)
{
ticks = ticks + 1;
- schedule(const_cast<Registers&>(regs));
+ schedule(regs);
}
void pit_initialize(std::uint32_t frequency)