updated for version 7.0031
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt
index e738b83..579068c 100644
--- a/runtime/doc/insert.txt
+++ b/runtime/doc/insert.txt
@@ -1,4 +1,4 @@
-*insert.txt*    For Vim version 7.0aa.  Last change: 2004 Dec 21
+*insert.txt*    For Vim version 7.0aa.  Last change: 2005 Jan 05
 
 
 		  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -975,7 +975,7 @@
 containing only a ".".  Watch out for lines starting with a backslash, see
 |line-continuation|.
 NOTE: ":append" and ":insert" don't work properly in between ":if" and
-":endif".
+":endif", ":for" and ":endfor", ":while" and ":endwhile".
 
 							*:start* *:startinsert*
 :star[tinsert][!]	Start Insert mode just after executing this command.
diff --git a/src/gui_kde_wid.cc b/src/gui_kde_wid.cc
index 52d1c9e..abaaa50 100644
--- a/src/gui_kde_wid.cc
+++ b/src/gui_kde_wid.cc
@@ -1540,7 +1540,7 @@
     }
 
     connect(sb->w, SIGNAL(valueChanged(int)), &mapper, SLOT(map()));
-    mapper.setMapping(sb->w, (int)sb);
+    mapper.setMapping(sb->w, (long)sb);
 }//}}}
 
 
diff --git a/src/proto/ex_eval.pro b/src/proto/ex_eval.pro
index 8156c7a..5bf22fa 100644
--- a/src/proto/ex_eval.pro
+++ b/src/proto/ex_eval.pro
@@ -27,5 +27,5 @@
 void leave_cleanup __ARGS((cleanup_T *csp));
 int cleanup_conditionals __ARGS((struct condstack *cstack, int searched_cond, int inclusive));
 void ex_endfunction __ARGS((exarg_T *eap));
-int has_while_cmd __ARGS((char_u *p));
+int has_loop_cmd __ARGS((char_u *p));
 /* vim: set ft=c : */