diff options
author | Chris Robinson <[email protected]> | 2022-02-08 09:39:56 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-02-08 09:39:56 -0800 |
commit | e2cdbf864fd407b36aa3a8d1c09622c0d6e930b7 (patch) | |
tree | 14a7c99bf3339fefe21a9721143a103587794518 | |
parent | 843cff0537ca07446ab01421ffc7aa6181414502 (diff) |
Fix sign of ALeffectslot::eax_get_eax_default_lock's return type
-rw-r--r-- | al/auxeffectslot.cpp | 2 | ||||
-rw-r--r-- | al/auxeffectslot.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/al/auxeffectslot.cpp b/al/auxeffectslot.cpp index d0487925..ad974483 100644 --- a/al/auxeffectslot.cpp +++ b/al/auxeffectslot.cpp @@ -1328,7 +1328,7 @@ GUID ALeffectslot::eax_get_eax_default_effect_guid() const noexcept } } -unsigned long ALeffectslot::eax_get_eax_default_lock() const noexcept +long ALeffectslot::eax_get_eax_default_lock() const noexcept { return eax_fx_slot_index_ < 2 ? EAXFXSLOT_LOCKED : EAXFXSLOT_UNLOCKED; } diff --git a/al/auxeffectslot.h b/al/auxeffectslot.h index 0ee1d022..30f9caac 100644 --- a/al/auxeffectslot.h +++ b/al/auxeffectslot.h @@ -105,7 +105,7 @@ private: GUID eax_get_eax_default_effect_guid() const noexcept; - unsigned long eax_get_eax_default_lock() const noexcept; + long eax_get_eax_default_lock() const noexcept; void eax_set_eax_fx_slot_defaults(); |