diff options
author | Mary <mary@mary.zone> | 2022-02-09 21:18:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-09 17:18:07 -0300 |
commit | 6dffe0fad4bc8dee0e25ce038639d890b29d56a0 (patch) | |
tree | 5c4645911c473ec1ffa9f560c81f34212e963670 /Ryujinx.HLE/HOS/Services/Pctl/IParentalControlServiceFactory.cs | |
parent | 86b37d0ff7764ac62b1e9578b07a8b648a3bd55a (diff) |
misc: Make PID unsigned long instead of long (#3043)1.1.22
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Pctl/IParentalControlServiceFactory.cs')
-rw-r--r-- | Ryujinx.HLE/HOS/Services/Pctl/IParentalControlServiceFactory.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Pctl/IParentalControlServiceFactory.cs b/Ryujinx.HLE/HOS/Services/Pctl/IParentalControlServiceFactory.cs index a84e13b5..f5be0cb4 100644 --- a/Ryujinx.HLE/HOS/Services/Pctl/IParentalControlServiceFactory.cs +++ b/Ryujinx.HLE/HOS/Services/Pctl/IParentalControlServiceFactory.cs @@ -19,7 +19,7 @@ namespace Ryujinx.HLE.HOS.Services.Pctl // CreateService(u64, pid) -> object<nn::pctl::detail::ipc::IParentalControlService> public ResultCode CreateService(ServiceCtx context) { - long pid = context.Request.HandleDesc.PId; + ulong pid = context.Request.HandleDesc.PId; MakeObject(context, new IParentalControlService(context, pid, true, _permissionFlag)); @@ -30,7 +30,7 @@ namespace Ryujinx.HLE.HOS.Services.Pctl // CreateServiceWithoutInitialize(u64, pid) -> object<nn::pctl::detail::ipc::IParentalControlService> public ResultCode CreateServiceWithoutInitialize(ServiceCtx context) { - long pid = context.Request.HandleDesc.PId; + ulong pid = context.Request.HandleDesc.PId; MakeObject(context, new IParentalControlService(context, pid, false, _permissionFlag)); |