aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-07-17 16:48:56 -0700
committerChris Robinson <[email protected]>2022-07-17 18:12:21 -0700
commit0d2eeda9c1beef88c107fb4bf4e19f95ceb6411f (patch)
tree815f4b00442288bb9998a76e7610797bce81ecb4
parent263e9aab1147925202514908875b44259f5d1d18 (diff)
Fix parameter signedness
-rw-r--r--al/source.cpp2
-rw-r--r--al/source.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/al/source.cpp b/al/source.cpp
index 8856bafc..842dbd67 100644
--- a/al/source.cpp
+++ b/al/source.cpp
@@ -4520,7 +4520,7 @@ void ALsource::eax_set(const EaxCall& call)
eax_version_ = eax_version;
}
-void ALsource::eax_get_active_fx_slot_id(const EaxCall& call, const GUID* ids, int max_count)
+void ALsource::eax_get_active_fx_slot_id(const EaxCall& call, const GUID* ids, size_t max_count)
{
assert(ids != nullptr);
assert(max_count == EAX40_MAX_ACTIVE_FXSLOTS || max_count == EAX50_MAX_ACTIVE_FXSLOTS);
diff --git a/al/source.h b/al/source.h
index 513a334a..bcee0e18 100644
--- a/al/source.h
+++ b/al/source.h
@@ -902,7 +902,7 @@ private:
}
}
- void eax_get_active_fx_slot_id(const EaxCall& call, const GUID* ids, int max_count);
+ void eax_get_active_fx_slot_id(const EaxCall& call, const GUID* ids, size_t max_count);
void eax1_get(const EaxCall& call, const Eax1Props& props);
void eax2_get(const EaxCall& call, const Eax2Props& props);
void eax3_get_obstruction(const EaxCall& call, const Eax3Props& props);