mirror of
https://github.com/meizu-m86/twrp_multirom_m86
synced 2025-11-19 05:49:18 +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;
|
ret = 0;
|
||||||
ERROR1:
|
ERROR1:
|
||||||
fclose ( out );
|
fclose ( out );
|
||||||
|
|||||||
@@ -458,7 +458,7 @@ mmc_raw_copy (const MmcPartition *partition, char *in_file) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fsync(out);
|
fsync(fileno(out));
|
||||||
ret = 0;
|
ret = 0;
|
||||||
ERROR1:
|
ERROR1:
|
||||||
fclose ( out );
|
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;
|
ret = 0;
|
||||||
ERROR1:
|
ERROR1:
|
||||||
fclose ( out );
|
fclose ( out );
|
||||||
|
|||||||
Reference in New Issue
Block a user