Have switch_{to,back} use an opaque uintptr_t
[akaros.git] / kern / src / ktest / pb_ktests.c
index a5de1ee..0878162 100644 (file)
@@ -1058,7 +1058,8 @@ bool test_ucq(void)
        void send_msgs(struct alarm_waiter *waiter)
        {
                struct timer_chain *tchain;
-               struct proc *old_proc, *p = waiter->data;
+               struct proc *p = waiter->data;
+               uintptr_t old_proc;
                struct ucq *ucq = (struct ucq*)USTACKTOP;
                struct event_msg msg;