mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-04 09:18:50 +02:00
misc: Use nint/nuint instead of IntPtr/UIntPtr
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd
|
||||
|
||||
ProtocolType ProtocolType { get; }
|
||||
|
||||
IntPtr Handle { get; }
|
||||
nint Handle { get; }
|
||||
|
||||
LinuxError Receive(out int receiveSize, Span<byte> buffer, BsdSocketFlags flags);
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd.Impl
|
||||
|
||||
public bool Blocking { get => Socket.Blocking; set => Socket.Blocking = value; }
|
||||
|
||||
public IntPtr Handle => IntPtr.Zero;
|
||||
public nint Handle => nint.Zero;
|
||||
|
||||
public IPEndPoint RemoteEndPoint => Socket.RemoteEndPoint as IPEndPoint;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user