Skip to content

Commit

Permalink
fix windows
Browse files Browse the repository at this point in the history
  • Loading branch information
p-avital committed Jul 12, 2023
1 parent 872c3f2 commit c270ddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/system/windows/system.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ uint64_t z_random_u64(void) {
return ret;
}

void z_random_fill(void *buf, size_t len) { RtlGenRandom(buf, (ulong)len); }
void z_random_fill(void *buf, size_t len) { RtlGenRandom(buf, (unsigned long)len); }

/*------------------ Memory ------------------*/
// #define MALLOC(x) HeapAlloc(GetProcessHeap(), 0, (x))
Expand Down

0 comments on commit c270ddd

Please sign in to comment.