diff options
author | Chris Robinson <[email protected]> | 2011-03-10 01:27:42 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-03-10 01:27:42 -0800 |
commit | 9c87b73ad576f1c2abf22cfd38eb055eef34c67f (patch) | |
tree | d47b0d534c787dd46a5ef93ba682a1107b9e0d36 | |
parent | 97139a530fb624e6e1f55f410e0b122fbb4ad516 (diff) |
Fix a compiler warning about checking differing enum types
One of the enum types is actually a subset of the other, and share the same
integer values for compatible enumation values
-rw-r--r-- | OpenAL32/alBuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c index f56b749e..aac11d14 100644 --- a/OpenAL32/alBuffer.c +++ b/OpenAL32/alBuffer.c @@ -1514,7 +1514,7 @@ static ALenum LoadData(ALbuffer *ALBuf, ALuint freq, ALenum NewFormat, ALsizei s NewChannels = ChannelsFromFmt(DstChannels); NewBytes = BytesFromFmt(DstType); - assert(SrcChannels == DstChannels); + assert((long)SrcChannels == (long)DstChannels); if(SrcType == UserFmtIMA4) { |