diff src/common.cpp @ 447:8506333fe65c

Win32 build fix
author Chris Cannam <chris.cannam@eecs.qmul.ac.uk>
date Tue, 28 Jun 2011 17:03:16 +0100
parents 459b140032d4
children 856da063d76e
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();
     }