Author: soliton
Date: Wed Mar 26 18:43:35 2008
New Revision: 25162

URL: http://svn.gna.org/viewcvs/wesnoth?rev=25162&view=rev
Log:
fix to simple_wml on 64 bit machines (merged r25160 from trunk)

Modified:
    branches/1.4/src/server/simple_wml.cpp
    branches/1.4/src/server/simple_wml.hpp

Modified: branches/1.4/src/server/simple_wml.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.4/src/server/simple_wml.cpp?rev=25162&r1=25161&r2=25162&view=diff
==============================================================================
--- branches/1.4/src/server/simple_wml.cpp (original)
+++ branches/1.4/src/server/simple_wml.cpp Wed Mar 26 18:43:35 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: branches/1.4/src/server/simple_wml.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.4/src/server/simple_wml.hpp?rev=25162&r1=25161&r2=25162&view=diff
==============================================================================
--- branches/1.4/src/server/simple_wml.hpp (original)
+++ branches/1.4/src/server/simple_wml.hpp Wed Mar 26 18:43:35 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

Reply via email to