From e2cdbf864fd407b36aa3a8d1c09622c0d6e930b7 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 8 Feb 2022 09:39:56 -0800 Subject: Fix sign of ALeffectslot::eax_get_eax_default_lock's return type --- al/auxeffectslot.cpp | 2 +- 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(); -- cgit v1.2.3