mirror of
https://github.com/meizu-m86/twrp_multirom_m86
synced 2025-11-04 06:15:41 +08:00
twrp: fix incompatible pointer to integer conversions
Change-Id: Idb430d3e6fab88eddba57c0961923663ca981148
This commit is contained in:
@@ -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 );
|
||||
|
||||
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user