commit 01f302a278969d8d27b362c8ed43f073b901cb73
parent 6ec531c1ea2a74f3f603ab8346d8ad3e31f97000
Author: Drew DeVault <sir@cmpwn.com>
Date: Fri, 5 Apr 2024 16:22:21 +0200
rt+linux: MCL_*: change type to uint
Following the types of the associated functions, e.g. mlock2
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/rt/+linux/types.ha b/rt/+linux/types.ha
@@ -731,9 +731,9 @@ export def TCSETS: u64 = 0x5402;
export def MLOCK_ONFAULT: uint = 0x01;
-export def MCL_CURRENT: int = 1;
-export def MCL_FUTURE: int = 2;
-export def MCL_ONFAULT: int = 4;
+export def MCL_CURRENT: uint = 1;
+export def MCL_FUTURE: uint = 2;
+export def MCL_ONFAULT: uint = 4;
export def PTRACE_TRACEME: int = 0;
export def PTRACE_PEEKTEXT: int = 1;