diff --git a/common/nvramparser.cpp b/common/nvramparser.cpp index bced44f..1d574b4 100644 --- a/common/nvramparser.cpp +++ b/common/nvramparser.cpp @@ -521,6 +521,7 @@ USTATUS NvramParser::parseNvramVolumeBody(const UModelIndex & index) break; default: // Ignore unknown! + break; } } @@ -1211,8 +1212,8 @@ USTATUS NvramParser::parseSlicMarkerHeader(const UByteArray & store, const UINT3 markerHeader->Size, markerHeader->Size, header.size(), header.size(), markerHeader->Version, - UString((const char*)&(markerHeader->OemId)).left(6).toLocal8Bit(), - UString((const char*)&(markerHeader->OemTableId)).left(8).toLocal8Bit(), + (const char*)UString((const char*)&(markerHeader->OemId)).left(6).toLocal8Bit(), + (const char*)UString((const char*)&(markerHeader->OemTableId)).left(8).toLocal8Bit(), markerHeader->SlicVersion); diff --git a/unixbuild.sh b/unixbuild.sh index fcfde94..9743473 100755 --- a/unixbuild.sh +++ b/unixbuild.sh @@ -115,6 +115,6 @@ mkdir -p dist || exit 1 build_tool UEFITool "$UEFITOOL_VER" uefitool.pro build_tool UEFIDump "$UEFITOOL_VER" "" build_tool UEFIExtract "$UEFITOOL_VER" "" -build_tool UEFIFind "$UEFITOOL_VER" uefifind.pro +build_tool UEFIFind "$UEFITOOL_VER" "" exit 0