diff options
author | Sven Gothel <sgothel@jausoft.com> | 2023-11-28 12:51:46 +0100 |
---|---|---|
committer | Sven Gothel <sgothel@jausoft.com> | 2023-11-28 12:51:46 +0100 |
commit | 1aaf4f070011490bcece50394b9b32dfa593fd9e (patch) | |
tree | 17d68284e401a35eea3d3a574d986d446a60763a /al/eax/call.h | |
parent | 6e7cee4fa9a8af03f28ca26cd89f8357390dfc90 (diff) | |
parent | 571b546f35eead77ce109f8d4dd6c3de3199d573 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'al/eax/call.h')
-rw-r--r-- | al/eax/call.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/al/eax/call.h b/al/eax/call.h index 5ec33b0f..45ff328c 100644 --- a/al/eax/call.h +++ b/al/eax/call.h @@ -55,13 +55,13 @@ public: fail_too_small(); const auto count = minz(mPropertyBufferSize / sizeof(TValue), max_count); - return al::as_span(static_cast<TValue*>(mPropertyBuffer), count); + return {static_cast<TValue*>(mPropertyBuffer), count}; } template<typename TValue> al::span<TValue> get_values() const { - return get_values<TValue>(~size_t{}); + return get_values<TValue>(~0_uz); } template<typename TException, typename TValue> |