diff options
author | Chris Robinson <[email protected]> | 2019-09-11 14:33:26 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-09-11 14:33:26 -0700 |
commit | 07e2aa3bc0c7dde66b332e400f71bfd0d9cb1c5f (patch) | |
tree | c1e63112052126556eeac599a31b7c5a2c794aa7 /al/event.cpp | |
parent | 681c78d3485357ff9fae6b98ad2c20c83c767aba (diff) |
Clean up some more implicit conversions
Diffstat (limited to 'al/event.cpp')
-rw-r--r-- | al/event.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/al/event.cpp b/al/event.cpp index 13b1533f..2832ace7 100644 --- a/al/event.cpp +++ b/al/event.cpp @@ -83,8 +83,8 @@ static int EventThread(ALCcontext *context) (evt.u.srcstate.state==AL_PAUSED) ? "AL_PAUSED" : (evt.u.srcstate.state==AL_STOPPED) ? "AL_STOPPED" : "<unknown>"; context->mEventCb(AL_EVENT_TYPE_SOURCE_STATE_CHANGED_SOFT, evt.u.srcstate.id, - evt.u.srcstate.state, static_cast<ALsizei>(msg.length()), msg.c_str(), - context->mEventParam); + static_cast<ALuint>(evt.u.srcstate.state), static_cast<ALsizei>(msg.length()), + msg.c_str(), context->mEventParam); } else if(evt.EnumType == EventType_BufferCompleted) { |