From 88778d981e88347d91bf749560274f6c48eea907 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 29 May 2018 11:12:14 -0400 Subject: [PATCH] TT#37157 eliminate stray compiler warning in test code Change-Id: I554308499edb326bae56841629827ed85152efe4 --- t/transcode-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/transcode-test.c b/t/transcode-test.c index 41980c956..9cddd6705 100644 --- a/t/transcode-test.c +++ b/t/transcode-test.c @@ -118,7 +118,7 @@ static void queue_dump(GString *s, GQueue *q) { } \ struct codec_packet *cp = g_queue_pop_head(&mp.packets_out); \ rtp = (void *) cp->s.s; \ - if (rtp->m_pt != pt_out) { \ + if (rtp->m_pt != (unsigned char) pt_out) { \ printf("test failed: %s:%i\n", __FILE__, __LINE__); \ printf("expected: %i\n", pt_out); \ printf("received: %i\n", rtp->m_pt); \