From f56dd7c1084e24d3736003b80847add3fb84e561 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Sun, 29 Apr 2012 13:27:59 -0700 Subject: [PATCH] Typoe. --- src/PlatRand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PlatRand.cpp b/src/PlatRand.cpp index 8b0d4dfc6..bd5873bea 100644 --- a/src/PlatRand.cpp +++ b/src/PlatRand.cpp @@ -17,7 +17,7 @@ bool AddSystemEntropy() if (!CryptAcquireContext(&cryptoHandle, NULL, name, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT | CRYPT_SILENT)) return false; - if(!CryptGenRandom(cryptoHandle, 128, reinterpret_cast rand)) + if(!CryptGenRandom(cryptoHandle, 128, reinterpret_cast(rand))) { CryptReleaseContext(cryptoHandle, 0); return false;