updated for version 7.0175
diff --git a/src/edit.c b/src/edit.c
index f4f3f9a..c21c7e3 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -5113,7 +5113,8 @@
      * otherwise CTRL-O w and then <Left> will clear "last_insert".
      */
     ptr = get_inserted();
-    if (did_restart_edit == 0 || (ptr != NULL && STRLEN(ptr) > new_insert_skip))
+    if (did_restart_edit == 0 || (ptr != NULL
+				       && (int)STRLEN(ptr) > new_insert_skip))
     {
 	vim_free(last_insert);
 	last_insert = ptr;