From ee6ce579e3e56e496d14d883bbc41bd6ba54e559 Mon Sep 17 00:00:00 2001 From: vit9696 Date: Thu, 2 Aug 2018 03:51:52 +0300 Subject: [PATCH] Fix compilation --- common/nvramparser.cpp | 5 +++-- unixbuild.sh | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) 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