Author: jmb
Date: Mon Sep 11 01:47:46 2006
New Revision: 2951
URL:
http://svn.semichrome.net?rev=2951&view=rev
Log:
Squash warning
Modified:
trunk/netsurf/desktop/selection.c
Modified: trunk/netsurf/desktop/selection.c
URL:
http://svn.semichrome.net/trunk/netsurf/desktop/selection.c?rev=2951&...
==============================================================================
--- trunk/netsurf/desktop/selection.c (original)
+++ trunk/netsurf/desktop/selection.c Mon Sep 11 01:47:46 2006
@@ -916,7 +916,8 @@
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));
+ }
+}
+