fix build error in 9.0 with TW_NO_EXFAT_FUSE:=true
'bootable/recovery/partition.cpp:1476:158:
error:
format specifies type unsigned int
but the argument has type unsigned long
[-Werror,-Wformat]'
if using TW_NO_EXFAT_FUSE := true;
Change-Id: Icff5893a0de746ecfa3b247dc83c74a42e04bb08
diff --git a/partition.cpp b/partition.cpp
index edf344f..5a1759a 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -1383,7 +1383,7 @@
bool TWPartition::Mount(bool Display_Error) {
int exfat_mounted = 0;
- unsigned long flags = Mount_Flags;
+ unsigned int flags = Mount_Flags;
if (Is_Mounted()) {
return true;