From 8abeee19a31a5bed5c57d5ebca3204ea248ebcf0 Mon Sep 17 00:00:00 2001 From: Dan Pasanen Date: Wed, 11 Nov 2015 10:07:42 -0600 Subject: twrp: fix incompatible pointer to integer conversions Change-Id: Idb430d3e6fab88eddba57c0961923663ca981148 --- bmlutils/bmlutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bmlutils') diff --git a/bmlutils/bmlutils.c b/bmlutils/bmlutils.c index 4c7c49d03..7875f6faf 100644 --- a/bmlutils/bmlutils.c +++ b/bmlutils/bmlutils.c @@ -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 ); -- cgit v1.2.3