Fix warnings in test_decoder.cpp