VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Common/Random.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Common/Random.c b/src/Common/Random.c
index d5c09848..fd836c7f 100644
--- a/src/Common/Random.c
+++ b/src/Common/Random.c
@@ -832,3 +832,3 @@ BOOL FastPoll (void)
LARGE_INTEGER performanceCount;
- MEMORYSTATUS memoryStatus;
+ MEMORYSTATUSEX memoryStatus;
HANDLE handle;
@@ -873,5 +873,5 @@ BOOL FastPoll (void)
file, user bytes of address space, and free user bytes */
- memoryStatus.dwLength = sizeof (MEMORYSTATUS);
+ memoryStatus.dwLength = sizeof (MEMORYSTATUSEX);
GlobalMemoryStatusEx (&memoryStatus);
- RandaddBuf ((unsigned char *) &memoryStatus, sizeof (MEMORYSTATUS));
+ RandaddBuf ((unsigned char *) &memoryStatus, sizeof (MEMORYSTATUSEX));