Opus 1.1: 64 bit windows compilation generates conversion warnings
Using the 2010 projects to compile opus 1.1 and generate the following warnings compiling x64 Release.
opus_compare.c ....\src\opus_compare.c(78): warning C4244: '=' : conversion from 'int' to 'float', possible loss of data ....\src\opus_compare.c(233): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data ....\src\opus_compare.c(349): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data ....\src\opus_compare.c(367): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data opus_decoder.c opus_encoder.c ....\src\opus_encoder.c(588): warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) ....\src\opus_encoder.c(589): warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) ....\src\opus_encoder.c(608): warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) ....\src\opus_encoder.c(615): warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) ....\src\opus_encoder.c(620): warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) ....\src\opus_encoder.c(623): warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) ....\src\opus_encoder.c(625): warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) ....\src\opus_encoder.c(714): warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) repacketizer.c ....\src\repacketizer.c(222): warning C4244: '=' : conversion from '__int64' to 'int', possible loss of data
Maybe they are harmless, but they look scary especially when dealing we're talking about a codec. I didn't see a open issue filed on this so I thought I'd let you know.