diff options
| author | Lioncash <mathew1800@gmail.com> | 2020-12-07 22:00:34 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2020-12-07 23:02:23 -0500 |
| commit | 6b7320add44bf3d933063d0b93296222fd522ef6 (patch) | |
| tree | 06cb434947232a7105e955a8237285a15ac5556b /src/core/hle/kernel/resource_limit.cpp | |
| parent | 3415890dd5c6539a7c7b6e02bf7ce5df4533133c (diff) | |
core: Remove unnecessary enum casts in log calls
Follows the video core PR. fmt doesn't require casts for enum classes
anymore, so we can remove quite a few casts.
Diffstat (limited to 'src/core/hle/kernel/resource_limit.cpp')
| -rw-r--r-- | src/core/hle/kernel/resource_limit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/resource_limit.cpp b/src/core/hle/kernel/resource_limit.cpp index 212e442f4..7bf50339d 100644 --- a/src/core/hle/kernel/resource_limit.cpp +++ b/src/core/hle/kernel/resource_limit.cpp @@ -65,8 +65,8 @@ ResultCode ResourceLimit::SetLimitValue(ResourceType resource, s64 value) { limit[index] = value; return RESULT_SUCCESS; } else { - LOG_ERROR(Kernel, "Limit value is too large! resource={}, value={}, index={}", - static_cast<u32>(resource), value, index); + LOG_ERROR(Kernel, "Limit value is too large! resource={}, value={}, index={}", resource, + value, index); return ERR_INVALID_STATE; } } |
