Commit dbdb87b7 authored by Yaowu Xu's avatar Yaowu Xu

Fix a visual studio warning

Change-Id: I7f935e61c8c0ade7893a5212701f07bb346d78cb
parent 3de038f3
...@@ -1202,7 +1202,7 @@ static void validate_stream_config(const struct stream_state *stream, ...@@ -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. // Check that the codec bit depth is greater than the input bit depth.
if (stream->config.cfg.g_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)", fatal("Stream %d: codec bit depth (%d) less than input bit depth (%d)",
stream->index, (int)stream->config.cfg.g_bit_depth, stream->index, (int)stream->config.cfg.g_bit_depth,
stream->config.cfg.g_input_bit_depth); stream->config.cfg.g_input_bit_depth);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment