[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[vidalia-svn] r1847: Make crypto.cpp compile on Win32. (trunk/src/util)
Author: edmanm
Date: 2007-08-21 01:38:31 -0400 (Tue, 21 Aug 2007)
New Revision: 1847
Modified:
trunk/src/util/crypto.cpp
Log:
Make crypto.cpp compile on Win32.
Modified: trunk/src/util/crypto.cpp
===================================================================
--- trunk/src/util/crypto.cpp 2007-08-21 04:34:14 UTC (rev 1846)
+++ trunk/src/util/crypto.cpp 2007-08-21 05:38:31 UTC (rev 1847)
@@ -99,7 +99,7 @@
}
provider_set = 1;
}
- if (!CryptGenRandom(provider, buf.size(), buf.data())) {
+ if (!CryptGenRandom(provider, buf.size(), (BYTE *)buf.data())) {
qWarning("Can't get entropy from CryptoAPI.");
return QByteArray();
}