From cb0479279357cc2e5895314b812b556351dd3381 Mon Sep 17 00:00:00 2001 From: !uv Date: Fri, 20 Aug 2004 12:18:22 +0000 Subject: [PATCH] A printf format fix and a warnning fix. (Logical change 1.507) --- ntfsprogs/ntfstruncate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntfsprogs/ntfstruncate.c b/ntfsprogs/ntfstruncate.c index 4c4d1d49..36273774 100644 --- a/ntfsprogs/ntfstruncate.c +++ b/ntfsprogs/ntfstruncate.c @@ -362,7 +362,7 @@ static void dump_resident_attr_val(ATTR_TYPES type, char *val, u32 val_len) printf("%s\n", todo); return; case AT_VOLUME_NAME: - printf("Volume name length = %i\n", val_len); + printf("Volume name length = %u\n", (unsigned int)val_len); if (val_len) { buf = calloc(1, val_len); if (!buf)