mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 07:19:37 +03:00
Squash warning
svn path=/trunk/netsurf/; revision=2951
This commit is contained in:
parent
00155f279f
commit
0f26a73976
@ -916,7 +916,8 @@ void selection_update(struct selection *s, size_t byte_offset,
|
||||
if (change > 0)
|
||||
s->end_idx += change;
|
||||
else
|
||||
s->end_idx += max(change, byte_offset - s->end_idx);
|
||||
s->end_idx +=
|
||||
max(change, (int)(byte_offset - s->end_idx));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user