diff --git a/Core/InteropServices/SafeMemoryHandle.cs b/Core/InteropServices/SafeMemoryHandle.cs
index b7ce5ba9..9ef93cee 100644
--- a/Core/InteropServices/SafeMemoryHandle.cs
+++ b/Core/InteropServices/SafeMemoryHandle.cs
@@ -174,12 +174,12 @@ namespace Vanara.InteropServices
/// Performs an explicit conversion from to pointer.
/// The instance.
/// The result of the conversion.
- public static unsafe explicit operator byte* (SafeAllocatedMemoryHandle hMem) => (byte*)hMem.handle;
+ public static unsafe explicit operator byte*(SafeAllocatedMemoryHandle hMem) => (byte*)hMem.handle;
- /// Performs an explicit conversion from to .
+ /// Performs an implicit conversion from to .
/// The instance.
/// The result of the conversion.
- public static explicit operator IntPtr(SafeAllocatedMemoryHandle hMem) => hMem.handle;
+ public static implicit operator IntPtr(SafeAllocatedMemoryHandle hMem) => hMem.handle;
private class SafeBufferImpl : SafeBuffer
{