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
This commit is contained in:
Chris Robinson
2011-03-10 01:27:42 -08:00
parent 97139a530f
commit 9c87b73ad5
+1 -1
View File
@@ -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)
{