diff options
| author | gingerBill <bill@gingerbill.org> | 2021-09-10 16:14:39 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-09-10 16:14:39 +0100 |
| commit | 9980f8106238671f0334932bf92ff57daaaa638e (patch) | |
| tree | b04f38f09f1b20b77d2397585e5882088419b0d9 /core/runtime | |
| parent | 297cdde14466cb5c9f0ea0ae79d7b54f11e9be88 (diff) | |
Add other constants to c and libc
Diffstat (limited to 'core/runtime')
| -rw-r--r-- | core/runtime/procs.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/runtime/procs.odin b/core/runtime/procs.odin index 0aaf49928..94624eea6 100644 --- a/core/runtime/procs.odin +++ b/core/runtime/procs.odin @@ -1,7 +1,7 @@ package runtime @(link_name="memset") -memset :: proc "c" (ptr: rawptr, val: i32, len: int) -> rawptr #no_bounds_check { +memset :: proc "c" (ptr: rawptr, val: i32, len: uint) -> rawptr #no_bounds_check { if ptr != nil && len != 0 { b := byte(val) p := ([^]byte)(ptr) |