@@ -552,7 +552,7 @@ void renewal_tar(int count)
552552	char  path [MAX_BUFFER_SIZE ] =  { 0  }; 
553553	char  command [MAX_BUFFER_SIZE ] =  { 0  };
554554	struct  stat  statbuf ;
555- 	int  size ;
555+ 	unsigned long long  size ;
556556
557557	if  (count  ==  0 ) {
558558		fprintf (stderr , "write_log(): already up to date in %s\n" , dst_path );
@@ -629,7 +629,7 @@ void renewal_tar(int count)
629629 * @brief 로그 파일 작성 
630630 * @param count 변경 사항 개수 
631631 */ 
632- void  write_log (int  count , int  totalsize ) // 로그 파일 작성 
632+ void  write_log (int  count , unsigned long long  totalsize ) // 로그 파일 작성 
633633{
634634	FILE  * fp ;
635635	time_t  now_t ;
@@ -664,7 +664,7 @@ void write_log(int count, int totalsize) // 로그 파일 작성
664664	fprintf (fp , "[%.24s] %s\n" , asctime (now_tm ), command ); // 헤더 라인 쓰기 
665665
666666	if  (option_t )
667- 		fprintf (fp , " totalsize %dbytes \n" , totalsize );
667+ 		fprintf (fp , " totalsize %llubytes \n" , totalsize );
668668
669669	for  (int  i  =  0 ; i  <  count ; i ++ ) // 변경 사항 쓰기 
670670		switch  (change_list [i ].status ) {
0 commit comments