Fixed compile error without ssl library. * src/util.cc
@@ -1,3 +1,8 @@
+2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
+
+ Fixed compile error without ssl library.
+ * src/util.cc
2009-11-02 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Logged received nodes in get_peers reply message.
@@ -836,7 +836,7 @@ void generateRandomData(unsigned char* data, size_t length)
}
#else
std::ifstream i("/dev/urandom", std::ios::binary);
- i.read(data, length);
+ i.read(reinterpret_cast<char*>(data), length);
#endif // HAVE_LIBSSL