citra-emu
/
citra-canary
Archived
1
0
Fork 0

fs_user: Resolve sign conversion warning in GetPriority() (#5396)

Prevents a -Wsign-compare warning from occurring.
This commit is contained in:
Mai M 2022-02-18 23:19:16 -05:00 committed by GitHub
parent 62753e882e
commit 54a36bc54f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -617,7 +617,7 @@ void FS_USER::SetPriority(Kernel::HLERequestContext& ctx) {
void FS_USER::GetPriority(Kernel::HLERequestContext& ctx) { void FS_USER::GetPriority(Kernel::HLERequestContext& ctx) {
IPC::RequestParser rp(ctx, 0x863, 0, 0); IPC::RequestParser rp(ctx, 0x863, 0, 0);
if (priority == -1) { if (priority == UINT32_MAX) {
LOG_INFO(Service_FS, "priority was not set, priority=0x{:X}", priority); LOG_INFO(Service_FS, "priority was not set, priority=0x{:X}", priority);
} }