Преглед изворни кода

(read_and_process): Fix type of "size"

Sergey Poznyakoff пре 18 година
родитељ
комит
e24d8574a8
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/compare.c

+ 1 - 1
src/compare.c

@@ -138,7 +138,7 @@ read_and_process (struct tar_stat_info *st, int (*processor) (size_t, char *))
 {
   union block *data_block;
   size_t data_size;
-  size_t size = st->stat.st_size;
+  off_t size = st->stat.st_size;
 
   mv_begin (st);
   while (size)