aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/riscv/include/stdint.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/riscv/include/stdint.h b/src/arch/riscv/include/stdint.h
index 19808662eb..76f0d1b778 100644
--- a/src/arch/riscv/include/stdint.h
+++ b/src/arch/riscv/include/stdint.h
@@ -70,8 +70,8 @@ typedef uint8_t bool;
#define false 0
/* Types for `void *' pointers. */
-typedef s64 intptr_t;
-typedef u64 uintptr_t;
+typedef long intptr_t;
+typedef unsigned long uintptr_t;
/* FIXME: This is used in some print code and may be removed in the future. */
#define PRIu64 "llu"