@@ -4680,8 +4680,9 @@ vim_findfile_init(path, filename, stopdirs, level, free_visited, find_what,
46804680 STRCPY (ff_expand_buffer , search_ctx -> ffsc_start_dir );
46814681 add_pathsep (ff_expand_buffer );
46824682 {
4683- int eb_len = STRLEN (ff_expand_buffer );
4684- char_u * buf = alloc (eb_len + STRLEN (search_ctx -> ffsc_fix_path ) + 1 );
4683+ int eb_len = (int )STRLEN (ff_expand_buffer );
4684+ char_u * buf = alloc (eb_len
4685+ + (int )STRLEN (search_ctx -> ffsc_fix_path ) + 1 );
46854686
46864687 STRCPY (buf , ff_expand_buffer );
46874688 STRCPY (buf + eb_len , search_ctx -> ffsc_fix_path );
@@ -4700,18 +4701,18 @@ vim_findfile_init(path, filename, stopdirs, level, free_visited, find_what,
47004701
47014702 if (p > search_ctx -> ffsc_fix_path )
47024703 {
4703- len = p - search_ctx -> ffsc_fix_path - 1 ;
4704+ len = ( int )( p - search_ctx -> ffsc_fix_path ) - 1 ;
47044705 STRNCAT (ff_expand_buffer , search_ctx -> ffsc_fix_path , len );
47054706 add_pathsep (ff_expand_buffer );
47064707 }
47074708 else
4708- len = STRLEN (search_ctx -> ffsc_fix_path );
4709+ len = ( int ) STRLEN (search_ctx -> ffsc_fix_path );
47094710
47104711 if (search_ctx -> ffsc_wc_path != NULL )
47114712 {
47124713 wc_path = vim_strsave (search_ctx -> ffsc_wc_path );
4713- temp = alloc (STRLEN (search_ctx -> ffsc_wc_path )
4714- + (STRLEN (search_ctx -> ffsc_fix_path ) - len ));
4714+ temp = alloc (( int )( STRLEN (search_ctx -> ffsc_wc_path )
4715+ + (STRLEN (search_ctx -> ffsc_fix_path )) - len ));
47154716 }
47164717
47174718 if (temp == NULL || wc_path == NULL )
0 commit comments