mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-17 07:44:09 +02:00
Disallow object-to-void* casting. Lowering fixes. Variant fixes.
This commit is contained in:
parent
bca0440b16
commit
16be83ceda
12 changed files with 174 additions and 82 deletions
|
@ -421,7 +421,7 @@ namespace System.IO
|
|||
ofn.mTitle = mTitle.ToScopedNativeWChar!::();
|
||||
ofn.mFlags = Options | (Windows.OFN_EXPLORER | Windows.OFN_ENABLEHOOK | Windows.OFN_ENABLESIZING);
|
||||
ofn.mHook = hookProcPtr;
|
||||
ofn.mCustData = (int)(void*)this;
|
||||
ofn.mCustData = (int)Internal.UnsafeCastToPtr(this);
|
||||
ofn.mFlagsEx = Windows.OFN_USESHELLITEM;
|
||||
if (mDefaultExt != null && AddExtension)
|
||||
ofn.mDefExt = mDefaultExt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue