changeset 447:8506333fe65c

Win32 build fix
author Chris Cannam <chris.cannam@eecs.qmul.ac.uk>
date Tue, 28 Jun 2011 17:03:16 +0100
parents f72cad3baa34
children 89b6ba707096
files src/common.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/common.cpp	Tue Jun 28 16:32:13 2011 +0100
+++ b/src/common.cpp	Tue Jun 28 17:03:16 2011 +0100
@@ -302,7 +302,7 @@
         return QByteArray();
     }
 
-    if (!CryptGenRandom(provider, len, buffer)) {
+    if (!CryptGenRandom(provider, len, (BYTE *)buffer)) {
         CryptReleaseContext(provider, 0);
         return QByteArray();
     }