From 6d8437812b16cb38c90f41afd07a97ac9a0e90d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20D=C3=BCnkelmann?= Date: Thu, 27 Dec 2018 23:40:28 +0100 Subject: 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 --- partition.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/partition.cpp b/partition.cpp index edf344f5c..5a1759a34 100644 --- a/partition.cpp +++ b/partition.cpp @@ -1383,7 +1383,7 @@ bool TWPartition::Is_File_System_Writable(void) { 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; -- cgit v1.2.3