diff src/tag.c @ 1883:c8f343a465a2 v7.2.180

updated for version 7.2-180
author vimboss
date Sun, 17 May 2009 11:33:22 +0000
parents b5c1cb6f8d56
children 3112fcc89238
line wrap: on
line diff
--- a/src/tag.c
+++ b/src/tag.c
@@ -100,7 +100,7 @@ static char_u	*tagmatchname = NULL;	/* n
  * Tag for preview window is remembered separately, to avoid messing up the
  * normal tagstack.
  */
-static taggy_T ptag_entry = {NULL};
+static taggy_T ptag_entry = {NULL, {INIT_POS_T(0, 0, 0), 0}, 0, 0};
 #endif
 
 /*
@@ -3791,7 +3791,7 @@ add_tag_field(dict, field_name, start, e
 		--end;
 	}
 	len = (int)(end - start);
-	if (len > sizeof(buf) - 1)
+	if (len > (int)sizeof(buf) - 1)
 	    len = sizeof(buf) - 1;
 	vim_strncpy(buf, start, len);
     }