Squash warning

svn path=/trunk/netsurf/; revision=2951
This commit is contained in:
John Mark Bell 2006-09-11 00:47:46 +00:00
parent 00155f279f
commit 0f26a73976

View File

@ -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));
}
}