From 6dffe0fad4bc8dee0e25ce038639d890b29d56a0 Mon Sep 17 00:00:00 2001 From: Mary Date: Wed, 9 Feb 2022 21:18:07 +0100 Subject: misc: Make PID unsigned long instead of long (#3043) --- Ryujinx.HLE/HOS/Services/Sockets/Bsd/BsdContext.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Ryujinx.HLE/HOS/Services/Sockets') diff --git a/Ryujinx.HLE/HOS/Services/Sockets/Bsd/BsdContext.cs b/Ryujinx.HLE/HOS/Services/Sockets/Bsd/BsdContext.cs index 071c1317..cd78af78 100644 --- a/Ryujinx.HLE/HOS/Services/Sockets/Bsd/BsdContext.cs +++ b/Ryujinx.HLE/HOS/Services/Sockets/Bsd/BsdContext.cs @@ -5,7 +5,7 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd { class BsdContext { - private static ConcurrentDictionary _registry = new ConcurrentDictionary(); + private static ConcurrentDictionary _registry = new ConcurrentDictionary(); private readonly object _lock = new object(); @@ -123,7 +123,7 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd return LinuxError.SUCCESS; } - public static BsdContext GetOrRegister(long processId) + public static BsdContext GetOrRegister(ulong processId) { BsdContext context = GetContext(processId); @@ -137,7 +137,7 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd return context; } - public static BsdContext GetContext(long processId) + public static BsdContext GetContext(ulong processId) { if (!_registry.TryGetValue(processId, out BsdContext processContext)) { -- cgit v1.2.3