projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rand: fix truncated rand_seed on Windows
[fio.git]
/
os
/
os-windows.h
diff --git
a/os/os-windows.h
b/os/os-windows.h
index ef955dc36f4fd18fe1cab5f7ffc38da750e1352b..dc958f5c17189465310a48fb2a1ff28bcc3b6581 100644
(file)
--- a/
os/os-windows.h
+++ b/
os/os-windows.h
@@
-167,7
+167,7
@@
static inline int gettid(void)
return GetCurrentThreadId();
}
-static inline int init_random_seeds(u
nsigned long
*rand_seeds, int size)
+static inline int init_random_seeds(u
int64_t
*rand_seeds, int size)
{
HCRYPTPROV hCryptProv;