From a19955f023dde2dcead15f7962d042334590365d Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Thu, 9 Jul 2020 16:59:45 -0400 Subject: [PATCH] fix: Make userspace registers explicit integers --- runtime/include/arch/x86_64/context.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/include/arch/x86_64/context.h b/runtime/include/arch/x86_64/context.h index 7057938..62dc0c7 100644 --- a/runtime/include/arch/x86_64/context.h +++ b/runtime/include/arch/x86_64/context.h @@ -12,8 +12,8 @@ // Userspace Registers. enum UREGS { - UREG_RSP, - UREG_RIP, + UREG_RSP = 0, + UREG_RIP = 1, UREG_COUNT };