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 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'al/auxeffectslot.cpp') 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; } -- cgit v1.2.3