diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-09-27 18:44:11 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-09-27 18:44:11 (GMT) |
commit | 887699184a3cdbaa1b38f2c5a38e43de3e11b063 (patch) | |
tree | 6f95b6fa4a0a70ce2704d100aaab0cc48594673b /Utilities | |
parent | ef3c6f31fde39f7a68c4eab68e57815b2190b6da (diff) | |
download | CMake-887699184a3cdbaa1b38f2c5a38e43de3e11b063.zip CMake-887699184a3cdbaa1b38f2c5a38e43de3e11b063.tar.gz CMake-887699184a3cdbaa1b38f2c5a38e43de3e11b063.tar.bz2 |
COMP: remove warnings
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmtar/libtar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/cmtar/libtar.c b/Utilities/cmtar/libtar.c index e9a14d8..b509349 100644 --- a/Utilities/cmtar/libtar.c +++ b/Utilities/cmtar/libtar.c @@ -130,13 +130,13 @@ static int libtar_gzclose(void* call_data) static ssize_t libtar_gzread(void* call_data, void* buf, size_t count) { struct gzStruct* gzf = (struct gzStruct*)call_data; - return gzread(gzf->GZFile, buf, count); + return gzread(gzf->GZFile, buf, (unsigned int)count); } static ssize_t libtar_gzwrite(void* call_data, const void* buf, size_t count) { struct gzStruct* gzf = (struct gzStruct*)call_data; - return gzwrite(gzf->GZFile, (void*)buf, count); + return gzwrite(gzf->GZFile, (void*)buf, (unsigned int)count); } tartype_t gztype = { |