From cba621e82261a64bf39406ffc2da8e9334369dbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Pierre=20Andr=C3=A9?= Date: Mon, 9 Nov 2015 15:58:00 +0100 Subject: [PATCH] Silenced a compiler warning in ntfswipe (cosmetic) Avoid a signed-to-unsigned compare warning --- ntfsprogs/ntfswipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntfsprogs/ntfswipe.c b/ntfsprogs/ntfswipe.c index 274f13f5..ccd27ab4 100644 --- a/ntfsprogs/ntfswipe.c +++ b/ntfsprogs/ntfswipe.c @@ -981,7 +981,7 @@ static s64 wipe_mft(ntfs_volume *vol, int byte, enum action act) // We know that the end marker will only take 4 bytes size = le32_to_cpu(rec->bytes_in_use) - 4; - if ((size <= 0) || (size > vol->mft_record_size)) { + if ((size <= 0) || (size > (int)vol->mft_record_size)) { ntfs_log_error("Bad mft record %lld\n", (long long)i); total = -1;