summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-08-03 17:52:57 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-08-03 17:52:57 +0000
commit3dafe0b6356473819ea2b6fca022fc9459eb94cd (patch)
treea40daff8ff9dfb8597861e1a801a06d0e77c88de
parent497886ab9ffde340f6681154e8bd386b37949b12 (diff)
parent4f6439ca7cb43617b4e42a456e921d10db11502e (diff)
downloadextras-3dafe0b6356473819ea2b6fca022fc9459eb94cd.tar.gz
Merge "fgetc(3) returns int."
-rw-r--r--ext4_utils/blk_alloc_to_base_fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext4_utils/blk_alloc_to_base_fs.c b/ext4_utils/blk_alloc_to_base_fs.c
index 877daea7..664648d1 100644
--- a/ext4_utils/blk_alloc_to_base_fs.c
+++ b/ext4_utils/blk_alloc_to_base_fs.c
@@ -55,7 +55,7 @@ int main(int argc, char **argv)
exit(EXIT_FAILURE);
}
if (fscanf(blk_alloc_file, "Base EXT4 version %" ___STRING(MAX_FILE_VERSION) "s", file_version) > 0) {
- char c;
+ int c;
printf("%s is already in *.base_fs format, just copying into %s...\n", argv[1], argv[2]);
rewind(blk_alloc_file);
while ((c = fgetc(blk_alloc_file)) != EOF) {