hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 2a10eb194237b03e83ab9bdda579c20e814156cb
parent c252b3e466365af7dc7fc6bea94d17a85653f9f2
Author: Drew DeVault <sir@cmpwn.com>
Date:   Fri, 12 Feb 2021 14:11:06 -0500

types: fix cast to uintptr

Diffstat:
Mtypes/arch+aarch64.ha | 4++--
Mtypes/arch+x86_64.ha | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/types/arch+aarch64.ha b/types/arch+aarch64.ha @@ -17,7 +17,7 @@ export def SIZE_MIN: size = U64_MIN; export def SIZE_MAX: size = U64_MAX; // Minimum value which can be stored in a uintptr type -export def UINTPTR_MIN: uintptr = U64_MIN; +export def UINTPTR_MIN: uintptr = U64_MIN: uintptr; // Maximum value which can be stored in a uintptr type. -export def UINTPTR_MAX: uintptr = U64_MAX; +export def UINTPTR_MAX: uintptr = U64_MAX: uintptr; diff --git a/types/arch+x86_64.ha b/types/arch+x86_64.ha @@ -17,7 +17,7 @@ export def SIZE_MIN: size = U64_MIN; export def SIZE_MAX: size = U64_MAX; // Minimum value which can be stored in a uintptr type -export def UINTPTR_MIN: uintptr = U64_MIN; +export def UINTPTR_MIN: uintptr = U64_MIN: uintptr; // Maximum value which can be stored in a uintptr type. -export def UINTPTR_MAX: uintptr = U64_MAX; +export def UINTPTR_MAX: uintptr = U64_MAX: uintptr;