mail[Wesnoth-commits] r25160 - in /trunk/src/server: simple_wml.cpp simple_wml.hpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by dragonking on March 26, 2008 - 18:33:
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_;
 




Related Messages


Powered by MHonArc, Updated Wed Mar 26 18:41:21 2008