aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Sockets
diff options
context:
space:
mode:
authorMary <mary@mary.zone>2022-02-09 21:18:07 +0100
committerGitHub <noreply@github.com>2022-02-09 17:18:07 -0300
commit6dffe0fad4bc8dee0e25ce038639d890b29d56a0 (patch)
tree5c4645911c473ec1ffa9f560c81f34212e963670 /Ryujinx.HLE/HOS/Services/Sockets
parent86b37d0ff7764ac62b1e9578b07a8b648a3bd55a (diff)
misc: Make PID unsigned long instead of long (#3043)
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Sockets')
-rw-r--r--Ryujinx.HLE/HOS/Services/Sockets/Bsd/BsdContext.cs6
1 files changed, 3 insertions, 3 deletions
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<long, BsdContext> _registry = new ConcurrentDictionary<long, BsdContext>();
+ private static ConcurrentDictionary<ulong, BsdContext> _registry = new ConcurrentDictionary<ulong, BsdContext>();
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))
{