From 99d25b212022b9c1b7d56b39f7ebfcd2cfefe1e8 Mon Sep 17 00:00:00 2001 From: "cantab.net!aia21" Date: Tue, 4 Nov 2003 13:04:07 +0000 Subject: [PATCH] fix signed warning (Logical change 1.223) --- libntfs/lcnalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libntfs/lcnalloc.c b/libntfs/lcnalloc.c index dba05e9b..f960cc14 100644 --- a/libntfs/lcnalloc.c +++ b/libntfs/lcnalloc.c @@ -261,7 +261,7 @@ runlist *ntfs_cluster_alloc(ntfs_volume *vol, s64 count, LCN start_lcn, Dprintf("%s(): *byte = 0x%x, need_writeback is set.\n", __FUNCTION__, *byte); /* Reallocate memory if necessary. */ - if ((rlpos + 2) * sizeof(runlist) >= rlsize) { + if ((rlpos + 2) * (int)sizeof(runlist) >= rlsize) { Dprintf("%s(): Reallocating space.\n", __FUNCTION__); /* Setup first free bit return value. */