commit 65d3732dbef71cf0dd7d642002cc19eaaff3294d
parent b45186d80229a7f947149f5d0584f32c09a4bc19
Author: Sudipto Mallick <smlckz@disroot.org>
Date: Tue, 1 Jun 2021 14:50:45 +0000
types/limits.ha: fix typo in constants
Signed-off-by: Sudipto Mallick <smlckz@disroot.org>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/types/limits.ha b/types/limits.ha
@@ -5,10 +5,10 @@ export def I8_MIN: i8 = -128;
export def I8_MAX: i8 = 127;
// Minimum value which can be stored in an i16 type.
-export def I16_MIN: i16 = -32708;
+export def I16_MIN: i16 = -32768;
// Maximum value which can be stored in an i16 type.
-export def I16_MAX: i16 = 32707;
+export def I16_MAX: i16 = 32767;
// Minimum value which can be stored in an i32 type.
export def I32_MIN: i32 = -2147483648;