commit | 0c4e6b85ed798393768e66fbfa866e679a21b6bf | [log] [tgz] |
---|---|---|
author | Captain Throwback <captainthrowback@hotmail.com> | Fri Nov 19 19:23:15 2021 -0500 |
committer | bigbiff <bigbiff@teamw.in> | Sat Nov 20 00:49:49 2021 +0000 |
tree | 0fa4b279e704691b164dc437a1aeb9c718d396e8 | |
parent | f46463a15c9515a5347798924767d2133eaafbe3 [diff] [blame] |
Fix build in 5.1 tree Change-Id: Id1205f0dda771500f02195c53c5d49bb14c83fac
diff --git a/twrp-functions.cpp b/twrp-functions.cpp index 945f61d..96163f1 100755 --- a/twrp-functions.cpp +++ b/twrp-functions.cpp
@@ -1522,7 +1522,7 @@ return TW_DEFAULT_RECOVERY_FOLDER; } -bool TWFunc::Check_Xml_Format(const std::string filename) { +bool TWFunc::Check_Xml_Format(const char* filename) { std::string buffer(' ', 4); std::string abx_hdr("ABX\x00", 4); std::ifstream File;