From 7b3b6c1c10dea792c3bb2a2fccf0d8516db76f4c Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Sat, 29 Aug 2020 14:18:16 -0700 Subject: [PATCH] Fixed warning --- BeefLibs/corlib/src/Reflection/TypeInstance.bf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BeefLibs/corlib/src/Reflection/TypeInstance.bf b/BeefLibs/corlib/src/Reflection/TypeInstance.bf index 7171cc0a..4ca25e70 100644 --- a/BeefLibs/corlib/src/Reflection/TypeInstance.bf +++ b/BeefLibs/corlib/src/Reflection/TypeInstance.bf @@ -104,7 +104,7 @@ namespace System.Reflection #if BF_ENABLE_OBJECT_DEBUG_FLAGS obj = Internal.Dbg_ObjectAlloc(mTypeClassVData, mInstSize, mInstAlign, 1); #else - void* mem = new [Align(16)] uint8[mInstSize]* {?}; + void* mem = new [Align(16)] uint8[mInstSize]* (?); obj = Internal.UnsafeCastToObject(mem); obj.[Friend]mClassVData = (.)(void*)mTypeClassVData; #endif