diff src/misc2.c @ 1072:25154b22dc96 v7.0.198

updated for version 7.0-198
author vimboss
date Tue, 20 Feb 2007 02:16:18 +0000
parents cc03a79fdbb9
children 2ec8266fa254
line wrap: on
line diff
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -1246,7 +1246,7 @@ vim_strsave_shellescape(string)
     char_u	*escaped_string;
 
     /* First count the number of extra bytes required. */
-    length = STRLEN(string) + 3;	/* two quotes and the trailing NUL */
+    length = (unsigned)STRLEN(string) + 3;  /* two quotes and a trailing NUL */
     for (p = string; *p != NUL; mb_ptr_adv(p))
     {
 # if defined(WIN32) || defined(WIN16) || defined(DOS)
@@ -3718,7 +3718,7 @@ get_crypt_key(store, twice)
  *
  * ATTENTION:
  * ==========
- *	Also we use an allocated search context here, this functions ARE NOT
+ *	Also we use an allocated search context here, this functions are NOT
  *	thread-safe!!!!!
  *
  *	To minimize parameter passing (or because I'm to lazy), only the