diff options
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386/trap.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/i386/i386/trap.c b/i386/i386/trap.c index 1e04ae7d..9a35fb42 100644 --- a/i386/i386/trap.c +++ b/i386/i386/trap.c @@ -154,9 +154,9 @@ char *trap_name(unsigned int trapnum) */ void kernel_trap(struct i386_saved_state *regs) { - int code; - int subcode; - int type; + unsigned long code; + unsigned long subcode; + unsigned long type; vm_map_t map; kern_return_t result; thread_t thread; @@ -357,9 +357,9 @@ dump_ss(regs); int user_trap(struct i386_saved_state *regs) { int exc = 0; /* Suppress gcc warning */ - int code; - int subcode; - int type; + unsigned long code; + unsigned long subcode; + unsigned long type; thread_t thread = current_thread(); #ifdef __x86_64__ |