Skip to content

Commit

Permalink
twrp: fix incompatible pointer to integer conversions
Browse files Browse the repository at this point in the history
Change-Id: Idb430d3e6fab88eddba57c0961923663ca981148
  • Loading branch information
invisiblek authored and mdmower committed Nov 12, 2015
1 parent 3994c30 commit d8a0ae2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bmlutils/bmlutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down
4 changes: 2 additions & 2 deletions mmcutils/mmcutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ mmc_raw_copy (const MmcPartition *partition, char *in_file) {
}
}

fsync(out);
fsync(fileno(out));
ret = 0;
ERROR1:
fclose ( out );
Expand Down Expand Up @@ -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 );
Expand Down

0 comments on commit d8a0ae2

Please sign in to comment.