OSDN Git Service
(root)
/
android-x86
/
external-exfat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89d9fc8
)
Use bool type.
author
relan
<relan@users.noreply.github.com>
Sun, 10 Feb 2013 21:04:01 +0000
(21:04 +0000)
committer
relan
<relan@users.noreply.github.com>
Mon, 24 Aug 2015 05:26:15 +0000
(08:26 +0300)
libexfat/cluster.c
patch
|
blob
|
history
diff --git
a/libexfat/cluster.c
b/libexfat/cluster.c
index
980e1cd
..
c462fc3
100644
(file)
--- 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,