diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2006-09-11 00:47:46 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2006-09-11 00:47:46 +0000 |
commit | 0f26a7397643a2b1a993d67cb2c2f80182b90397 (patch) | |
tree | c167e7f25a5f869749f9547e87812d8f814b0a9c /desktop | |
parent | 00155f279f2ea18758b55d01662138a45d4cabee (diff) | |
download | netsurf-0f26a7397643a2b1a993d67cb2c2f80182b90397.tar.gz netsurf-0f26a7397643a2b1a993d67cb2c2f80182b90397.tar.bz2 |
Squash warning
svn path=/trunk/netsurf/; revision=2951
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/selection.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/selection.c b/desktop/selection.c index e416f1e3d..e47a9d91b 100644 --- a/desktop/selection.c +++ b/desktop/selection.c @@ -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)); } } |