updated for version 7.0031
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 : */