From 4f54910f915672d60653326c6bb0c78cc054a37b Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 2 Sep 2024 14:41:54 -0400 Subject: [PATCH] MT#55283 fix ISO C90 warning Change-Id: Ide6c6beac20f0edea798ca2404b9aba9e61df353 --- kernel-module/xt_RTPENGINE.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kernel-module/xt_RTPENGINE.c b/kernel-module/xt_RTPENGINE.c index 77c8f61bd..a2cda6a9c 100644 --- a/kernel-module/xt_RTPENGINE.c +++ b/kernel-module/xt_RTPENGINE.c @@ -6164,12 +6164,14 @@ static void rtp_stats(struct rtpengine_target *g, struct rtp_parsed *rtp, s64 ar uint32_t transit; int32_t d; uint32_t new_seq; + uint16_t seq; + uint32_t ts; if (!s) return; - uint16_t seq = ntohs(rtp->rtp_header->seq_num); - uint32_t ts = ntohl(rtp->rtp_header->timestamp); + seq = ntohs(rtp->rtp_header->seq_num); + ts = ntohl(rtp->rtp_header->timestamp); atomic64_inc(&s->packets); atomic64_add(rtp->payload_len, &s->bytes);