diff options
Diffstat (limited to 'Utilities/cmtar/block.c')
-rw-r--r-- | Utilities/cmtar/block.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Utilities/cmtar/block.c b/Utilities/cmtar/block.c index f47f7ba..e618d79 100644 --- a/Utilities/cmtar/block.c +++ b/Utilities/cmtar/block.c @@ -27,7 +27,7 @@ int th_read_internal(TAR *t) { - int i; + ssize_t i; int num_zero_blocks = 0; #ifdef DEBUG @@ -82,7 +82,7 @@ th_read_internal(TAR *t) #ifdef DEBUG printf("<== th_read_internal(): returning %d\n", i); #endif - return i; + return (int)i; } @@ -90,7 +90,7 @@ th_read_internal(TAR *t) int th_read(TAR *t) { - int i, j; + ssize_t i, j; size_t sz; char *ptr; @@ -247,7 +247,7 @@ th_read(TAR *t) int th_write(TAR *t) { - int i, j; + ssize_t i, j; char type2; size_t sz, sz2; char *ptr; |