From d7520d606c5d37c5662f26ba1c7717e2a37b165b Mon Sep 17 00:00:00 2001 From: resver Date: Sun, 10 Feb 2013 21:04:01 +0000 Subject: [PATCH] Use bool type. git-svn-id: http://exfat.googlecode.com/svn/trunk@343 60bc1c72-a15a-11de-b98f-4500b42dc123 --- libexfat/cluster.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libexfat/cluster.c b/libexfat/cluster.c index 980e1cd..c462fc3 100644 --- a/libexfat/cluster.c +++ b/libexfat/cluster.c @@ -134,7 +134,7 @@ void exfat_flush_cmap(struct exfat* ef) ef->cmap.dirty = false; } -static void set_next_cluster(const struct exfat* ef, int contiguous, +static void set_next_cluster(const struct exfat* ef, bool contiguous, cluster_t current, cluster_t next) { off_t fat_offset; @@ -187,7 +187,7 @@ static void make_noncontiguous(const struct exfat* ef, cluster_t first, cluster_t c; for (c = first; c < last; c++) - set_next_cluster(ef, 0, c, c + 1); + set_next_cluster(ef, false, c, c + 1); } static int shrink_file(struct exfat* ef, struct exfat_node* node, -- 2.11.0