diff options
author | Simon Warta <[email protected]> | 2018-05-07 23:27:27 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2018-05-07 23:27:27 +0200 |
commit | 3a676ad11a0bbeabcb4bf2a78946bfaed5086c9d (patch) | |
tree | 5465874e6fe90faa015689e90a9a6215ae24c22b /src/lib/rng | |
parent | 10983cb8f201881c16e6addb918188e8820344d5 (diff) |
Use BOOLEAN return type for RtlGenRandom_f
Diffstat (limited to 'src/lib/rng')
-rw-r--r-- | src/lib/rng/system_rng/system_rng.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/rng/system_rng/system_rng.cpp b/src/lib/rng/system_rng/system_rng.cpp index 091fc94a0..65d4dcb02 100644 --- a/src/lib/rng/system_rng/system_rng.cpp +++ b/src/lib/rng/system_rng/system_rng.cpp @@ -50,7 +50,7 @@ class System_RNG_Impl final : public RandomNumberGenerator void clear() override { /* not possible */ } std::string name() const override { return "RtlGenRandom"; } private: - typedef BOOL (NTAPI *RtlGenRandom_f)(PVOID, ULONG); + typedef BOOLEAN (NTAPI *RtlGenRandom_f)(PVOID, ULONG); Dynamically_Loaded_Library m_advapi; RtlGenRandom_f m_rtlgenrandom; |