Permalink
Browse files

Make explicit that PC_SUPERVISOR is a 32-bit quantity.

  • Loading branch information...
1 parent 20d768b commit 109b627fa6caf8592c201c696464e8731400ce0c @nelhage committed Aug 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bcpu.h
View
@@ -4,7 +4,7 @@
#include <stdint.h>
#include "bdecode.h"
-#define PC_SUPERVISOR 0x80000000
+#define PC_SUPERVISOR ((uint32_t)0x80000000)
#define ISR_RESET (PC_SUPERVISOR | 0x00000000)
#define ISR_ILLOP (PC_SUPERVISOR | 0x00000004)
#define ISR_CLK (PC_SUPERVISOR | 0x00000008)

0 comments on commit 109b627

Please sign in to comment.