diff options
author | Wendigo <84196391+wendig0x@users.noreply.github.com> | 2022-08-25 09:57:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-25 08:57:34 +0200 |
commit | 46ecb1a66de8abade4566cf73dcaec5d70e18920 (patch) | |
tree | b587c4930bab847e29145ec4df55d6e012386495 /src/Common/Random.c | |
parent | a23d4392fb9b570edd1c0eac9c267a50a6e2dfd7 (diff) | |
download | VeraCrypt-46ecb1a66de8abade4566cf73dcaec5d70e18920.tar.gz VeraCrypt-46ecb1a66de8abade4566cf73dcaec5d70e18920.zip |
Minor bugfixes (#950)
* Update Dlgcode.c
minor bugfixes
* GlobalMemoryStatus x64 bugfix
GlobalMemoryStatus deprecated in x64
Diffstat (limited to 'src/Common/Random.c')
-rw-r--r-- | src/Common/Random.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Random.c b/src/Common/Random.c index c44c69d7..d5c09848 100644 --- a/src/Common/Random.c +++ b/src/Common/Random.c @@ -872,7 +872,7 @@ BOOL FastPoll (void) free physical memory, bytes in paging file, free bytes in paging file, user bytes of address space, and free user bytes */ memoryStatus.dwLength = sizeof (MEMORYSTATUS); - GlobalMemoryStatus (&memoryStatus); + GlobalMemoryStatusEx (&memoryStatus); RandaddBuf ((unsigned char *) &memoryStatus, sizeof (MEMORYSTATUS)); /* Get thread and process creation time, exit time, time in kernel |