Author: dragonking
Date: Wed Mar 26 18:33:07 2008
New Revision: 25160
URL: http://svn.gna.org/viewcvs/wesnoth?rev=25160&view=rev
Log:
fix to simple_wml on 64 bit machines
Modified:
trunk/src/server/simple_wml.cpp
trunk/src/server/simple_wml.hpp
Modified: trunk/src/server/simple_wml.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/server/simple_wml.cpp?rev=25160&r1=25159&r2=25160&view=diff
==============================================================================
--- trunk/src/server/simple_wml.cpp (original)
+++ trunk/src/server/simple_wml.cpp Wed Mar 26 18:33:07 2008
@@ -428,7 +428,7 @@
return res;
}
-void node::shift_buffers(int offset)
+void node::shift_buffers(ptrdiff_t offset)
{
if(!output_cache_.empty()) {
output_cache_ = string_span(output_cache_.begin() + offset,
output_cache_.size());
Modified: trunk/src/server/simple_wml.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/server/simple_wml.hpp?rev=25160&r1=25159&r2=25160&view=diff
==============================================================================
--- trunk/src/server/simple_wml.hpp (original)
+++ trunk/src/server/simple_wml.hpp Wed Mar 26 18:33:07 2008
@@ -146,7 +146,7 @@
void set_dirty();
- void shift_buffers(int offset);
+ void shift_buffers(ptrdiff_t offset);
document* doc_;
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits