fix to simple_wml on 64 bit machines (merged 2008-03-26T17:33:07Z!b.waresiak@gmail.com from trunk)
This commit is contained in:
parent
e4db5758a7
commit
b78dffa4c0
2 changed files with 2 additions and 2 deletions
|
@ -428,7 +428,7 @@ int node::output_size() const
|
|||
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());
|
||||
|
|
|
@ -146,7 +146,7 @@ private:
|
|||
|
||||
void set_dirty();
|
||||
|
||||
void shift_buffers(int offset);
|
||||
void shift_buffers(ptrdiff_t offset);
|
||||
|
||||
document* doc_;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue