summaryrefslogtreecommitdiffstats
path: root/Utilities/cmtar
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-12-30 18:22:27 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-12-30 18:22:27 (GMT)
commit01ac4158ed47f82b0d7ee7015d1cc38943d86eee (patch)
tree18d35f28cc2c265e8237b4d93ab5f65fabb65979 /Utilities/cmtar
parent2804a0d7dbaecd9571d672b3b1ac030c89bfb6d6 (diff)
downloadCMake-01ac4158ed47f82b0d7ee7015d1cc38943d86eee.zip
CMake-01ac4158ed47f82b0d7ee7015d1cc38943d86eee.tar.gz
CMake-01ac4158ed47f82b0d7ee7015d1cc38943d86eee.tar.bz2
COMP: Remove warning about argument not being int
Diffstat (limited to 'Utilities/cmtar')
-rw-r--r--Utilities/cmtar/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmtar/util.c b/Utilities/cmtar/util.c
index 494847b..94cf544 100644
--- a/Utilities/cmtar/util.c
+++ b/Utilities/cmtar/util.c
@@ -163,7 +163,7 @@ oct_to_int(char *oct)
void
int_to_oct_nonull(int num, char *oct, size_t octlen)
{
- snprintf(oct, octlen, "%*lo", octlen - 1, (unsigned long)num);
+ snprintf(oct, octlen, "%*lo", (int)(octlen-1), (unsigned long)num);
oct[octlen - 1] = ' ';
}