summaryrefslogtreecommitdiffstats
path: root/Utilities/cmtar/block.c
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-03-30 18:49:56 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-03-30 18:49:56 (GMT)
commit5a2668b326471874ca69357af831cdcf1575c621 (patch)
tree92f40c9de267766f0533df44212ec2df6415aa47 /Utilities/cmtar/block.c
parent08b14163ee2cc9cced08d80b2c81b29c83072229 (diff)
downloadCMake-5a2668b326471874ca69357af831cdcf1575c621.zip
CMake-5a2668b326471874ca69357af831cdcf1575c621.tar.gz
CMake-5a2668b326471874ca69357af831cdcf1575c621.tar.bz2
ENH: add support for win64 for visual studio 2005 ide and nmake, also fix warnings produced by building for win64
Diffstat (limited to 'Utilities/cmtar/block.c')
-rw-r--r--Utilities/cmtar/block.c8
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;