diff --git a/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp b/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp index 6dfc118eea..376a454e02 100644 --- a/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp +++ b/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp @@ -95,7 +95,7 @@ SPendingAssign::GetKey ( } CFormPkg::CFormPkg ( - IN UINT32 BufferSize = 4096 + IN UINT32 BufferSize ) { CHAR8 *BufferStart; diff --git a/BaseTools/Source/C/VfrCompile/VfrFormPkg.h b/BaseTools/Source/C/VfrCompile/VfrFormPkg.h index 17471e6284..3d2def8b95 100644 --- a/BaseTools/Source/C/VfrCompile/VfrFormPkg.h +++ b/BaseTools/Source/C/VfrCompile/VfrFormPkg.h @@ -124,7 +124,7 @@ private: SPendingAssign *PendingAssignList; public: - CFormPkg (IN UINT32 BufferSize); + CFormPkg (IN UINT32 BufferSize = 4096); ~CFormPkg (); CHAR8 * IfrBinBufferGet (IN UINT32);