Author: mordante
Date: Thu Apr 2 20:22:53 2009
New Revision: 34400
URL: http://svn.gna.org/viewcvs/wesnoth?rev=34400&view=rev
Log:
Converted the old style casts to c++ style casts.
Modified:
trunk/src/server/user_handler.cpp
Modified: trunk/src/server/user_handler.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/server/user_handler.cpp?rev=34400&r1=34399&r2=34400&view=diff
==============================================================================
--- trunk/src/server/user_handler.cpp (original)
+++ trunk/src/server/user_handler.cpp Thu Apr 2 20:22:53 2009
@@ -48,7 +48,7 @@
}
std::string user_handler::create_salt(int length) {
- srand((unsigned)time(NULL));
+ srand(static_cast<unsigned>(time(NULL)));
std::stringstream ss;
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits