@@ -3364,17 +3364,13 @@ do_addsub(
33643364 buf2 [i ] = '\0' ;
33653365 }
33663366 else if (pre == 0 )
3367- vim_snprintf ((char * )buf2 , NUMBUFLEN , "%llu" ,
3368- (long_long_u_T )n );
3367+ vim_snprintf ((char * )buf2 , NUMBUFLEN , "%llu" , (uvarnumber_T )n );
33693368 else if (pre == '0' )
3370- vim_snprintf ((char * )buf2 , NUMBUFLEN , "%llo" ,
3371- (long_long_u_T )n );
3369+ vim_snprintf ((char * )buf2 , NUMBUFLEN , "%llo" , (uvarnumber_T )n );
33723370 else if (pre && hexupper )
3373- vim_snprintf ((char * )buf2 , NUMBUFLEN , "%llX" ,
3374- (long_long_u_T )n );
3371+ vim_snprintf ((char * )buf2 , NUMBUFLEN , "%llX" , (uvarnumber_T )n );
33753372 else
3376- vim_snprintf ((char * )buf2 , NUMBUFLEN , "%llx" ,
3377- (long_long_u_T )n );
3373+ vim_snprintf ((char * )buf2 , NUMBUFLEN , "%llx" , (uvarnumber_T )n );
33783374 length -= (int )STRLEN (buf2 );
33793375
33803376 /*
@@ -3773,21 +3769,21 @@ cursor_pos_info(dict_T *dict)
37733769 _ ("Selected %s%ld of %ld Lines; %lld of %lld Words; %lld of %lld Bytes" ),
37743770 buf1 , line_count_selected ,
37753771 (long )curbuf -> b_ml .ml_line_count ,
3776- (long_long_T )word_count_cursor ,
3777- (long_long_T )word_count ,
3778- (long_long_T )byte_count_cursor ,
3779- (long_long_T )byte_count );
3772+ (varnumber_T )word_count_cursor ,
3773+ (varnumber_T )word_count ,
3774+ (varnumber_T )byte_count_cursor ,
3775+ (varnumber_T )byte_count );
37803776 else
37813777 vim_snprintf ((char * )IObuff , IOSIZE ,
37823778 _ ("Selected %s%ld of %ld Lines; %lld of %lld Words; %lld of %lld Chars; %lld of %lld Bytes" ),
37833779 buf1 , line_count_selected ,
37843780 (long )curbuf -> b_ml .ml_line_count ,
3785- (long_long_T )word_count_cursor ,
3786- (long_long_T )word_count ,
3787- (long_long_T )char_count_cursor ,
3788- (long_long_T )char_count ,
3789- (long_long_T )byte_count_cursor ,
3790- (long_long_T )byte_count );
3781+ (varnumber_T )word_count_cursor ,
3782+ (varnumber_T )word_count ,
3783+ (varnumber_T )char_count_cursor ,
3784+ (varnumber_T )char_count ,
3785+ (varnumber_T )byte_count_cursor ,
3786+ (varnumber_T )byte_count );
37913787 }
37923788 else
37933789 {
@@ -3805,17 +3801,17 @@ cursor_pos_info(dict_T *dict)
38053801 (char * )buf1 , (char * )buf2 ,
38063802 (long )curwin -> w_cursor .lnum ,
38073803 (long )curbuf -> b_ml .ml_line_count ,
3808- (long_long_T )word_count_cursor , (long_long_T )word_count ,
3809- (long_long_T )byte_count_cursor , (long_long_T )byte_count );
3804+ (varnumber_T )word_count_cursor , (varnumber_T )word_count ,
3805+ (varnumber_T )byte_count_cursor , (varnumber_T )byte_count );
38103806 else
38113807 vim_snprintf ((char * )IObuff , IOSIZE ,
38123808 _ ("Col %s of %s; Line %ld of %ld; Word %lld of %lld; Char %lld of %lld; Byte %lld of %lld" ),
38133809 (char * )buf1 , (char * )buf2 ,
38143810 (long )curwin -> w_cursor .lnum ,
38153811 (long )curbuf -> b_ml .ml_line_count ,
3816- (long_long_T )word_count_cursor , (long_long_T )word_count ,
3817- (long_long_T )char_count_cursor , (long_long_T )char_count ,
3818- (long_long_T )byte_count_cursor , (long_long_T )byte_count );
3812+ (varnumber_T )word_count_cursor , (varnumber_T )word_count ,
3813+ (varnumber_T )char_count_cursor , (varnumber_T )char_count ,
3814+ (varnumber_T )byte_count_cursor , (varnumber_T )byte_count );
38193815 }
38203816 }
38213817
@@ -3825,7 +3821,7 @@ cursor_pos_info(dict_T *dict)
38253821 size_t len = STRLEN (IObuff );
38263822
38273823 vim_snprintf ((char * )IObuff + len , IOSIZE - len ,
3828- _ ("(+%lld for BOM)" ), (long_long_T )bom_count );
3824+ _ ("(+%lld for BOM)" ), (varnumber_T )bom_count );
38293825 }
38303826 if (dict == NULL )
38313827 {
0 commit comments