diff options
| author | gingerBill <bill@gingerbill.org> | 2022-05-16 01:43:43 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-05-16 01:43:43 +0100 |
| commit | 33895b6d927c70167f3bfa64c6cc1c15c4e428c5 (patch) | |
| tree | 1e33492814edf1b809b94c8a87487b53f1ed7ddb /core/sys/windows/bcrypt.odin | |
| parent | e10105a780d98c31faf4f2bce60a2a9dfabec7ab (diff) | |
Convert all uses of `*_from_slice` to `*_from_bytes` where appropriate
Diffstat (limited to 'core/sys/windows/bcrypt.odin')
| -rw-r--r-- | core/sys/windows/bcrypt.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sys/windows/bcrypt.odin b/core/sys/windows/bcrypt.odin index ed28d5b7f..52eb4b1b6 100644 --- a/core/sys/windows/bcrypt.odin +++ b/core/sys/windows/bcrypt.odin @@ -7,5 +7,5 @@ BCRYPT_USE_SYSTEM_PREFERRED_RNG: DWORD : 0x00000002 @(default_calling_convention="stdcall") foreign bcrypt { - BCryptGenRandom :: proc(hAlgorithm: LPVOID, pBuffer: ^u8, cbBuffer: ULONG, dwFlags: ULONG) -> LONG --- + BCryptGenRandom :: proc(hAlgorithm: LPVOID, pBuffer: [^]u8, cbBuffer: ULONG, dwFlags: ULONG) -> LONG --- } |