Merge "Fix a visual studio warning"

This commit is contained in:
Yaowu Xu 2014-09-08 09:17:21 -07:00 committed by Gerrit Code Review
commit 3b56d89255

View File

@ -1202,7 +1202,7 @@ static void validate_stream_config(const struct stream_state *stream,
// Check that the codec bit depth is greater than the input bit depth.
if (stream->config.cfg.g_input_bit_depth >
(int)stream->config.cfg.g_bit_depth) {
(unsigned int)stream->config.cfg.g_bit_depth) {
fatal("Stream %d: codec bit depth (%d) less than input bit depth (%d)",
stream->index, (int)stream->config.cfg.g_bit_depth,
stream->config.cfg.g_input_bit_depth);