twrp: fix incompatible pointer to integer conversions

Change-Id: Idb430d3e6fab88eddba57c0961923663ca981148
This commit is contained in:
Dan Pasanen
2015-11-11 10:07:42 -06:00
committed by Dees Troy
parent bfb72b062a
commit 8abeee19a3
2 changed files with 3 additions and 3 deletions

View File

@@ -134,7 +134,7 @@ int cmd_bml_backup_raw_partition(const char *partition, const char *out_file)
}
}
fsync(out);
fsync(fileno(out));
ret = 0;
ERROR1:
fclose ( out );

View File

@@ -458,7 +458,7 @@ mmc_raw_copy (const MmcPartition *partition, char *in_file) {
}
}
fsync(out);
fsync(fileno(out));
ret = 0;
ERROR1:
fclose ( out );
@@ -509,7 +509,7 @@ mmc_raw_dump_internal (const char* in_file, const char *out_file) {
}
}
fsync(out);
fsync(fileno(out));
ret = 0;
ERROR1:
fclose ( out );