diff options
| author | Liam <byteslice@airmail.cc> | 2023-03-07 12:01:07 -0500 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2023-03-12 22:09:09 -0400 |
| commit | d0e11c27d9e0d2e6f503c748e4e9389d47724fb0 (patch) | |
| tree | 19ac300007ee99c87138203809005fb708257b21 /src/core/hle/kernel/svc/svc_ipc.cpp | |
| parent | 24077ea160f48b6534bd2b9b4e45c982baf5edd0 (diff) | |
kernel: prefer std::addressof
Diffstat (limited to 'src/core/hle/kernel/svc/svc_ipc.cpp')
| -rw-r--r-- | src/core/hle/kernel/svc/svc_ipc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc/svc_ipc.cpp b/src/core/hle/kernel/svc/svc_ipc.cpp index bca3036509..46fd0f2ea4 100644 --- a/src/core/hle/kernel/svc/svc_ipc.cpp +++ b/src/core/hle/kernel/svc/svc_ipc.cpp @@ -79,7 +79,7 @@ Result ReplyAndReceive(Core::System& system, s32* out_index, uint64_t handles_ad while (true) { // Wait for an object. s32 index; - Result result = KSynchronizationObject::Wait(kernel, &index, objs.data(), + Result result = KSynchronizationObject::Wait(kernel, std::addressof(index), objs.data(), static_cast<s32>(objs.size()), timeout_ns); if (result == ResultTimedOut) { R_RETURN(result); |
