Author: loonycyborg
Date: Sat Aug 16 12:54:26 2008
New Revision: 28634
URL: http://svn.gna.org/viewcvs/wesnoth?rev=28634&view=rev
Log:
Fix compile warnings.
Modified:
trunk/src/server/forum_auth/md5.cpp
trunk/src/server/user_handler.hpp
Modified: trunk/src/server/forum_auth/md5.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/server/forum_auth/md5.cpp?rev=28634&r1=28633&r2=28634&view=diff
==============================================================================
--- trunk/src/server/forum_auth/md5.cpp (original)
+++ trunk/src/server/forum_auth/md5.cpp Sat Aug 16 12:54:26 2008
@@ -124,7 +124,7 @@
unsigned char buffer[1024];
int len;
- while (len=fread(buffer, 1, 1024, file))
+ while ((len=fread(buffer, 1, 1024, file)))
update(buffer, len);
fclose (file);
Modified: trunk/src/server/user_handler.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/server/user_handler.hpp?rev=28634&r1=28633&r2=28634&view=diff
==============================================================================
--- trunk/src/server/user_handler.hpp (original)
+++ trunk/src/server/user_handler.hpp Sat Aug 16 12:54:26 2008
@@ -28,6 +28,7 @@
// implementations
public:
+ virtual ~user_handler();
//! Adds a user.
//! Throws an error containing the error message if adding fails
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits