Skip to content

Commit be2c160

Browse files
committed
MT#55283 fix ISO C90 warning
Change-Id: Ide6c6beac20f0edea798ca2404b9aba9e61df353 (cherry picked from commit 4f54910) (cherry picked from commit f4ca512)
1 parent b58e8ea commit be2c160

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

kernel-module/xt_RTPENGINE.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6164,12 +6164,14 @@ static void rtp_stats(struct rtpengine_target *g, struct rtp_parsed *rtp, s64 ar
61646164
uint32_t transit;
61656165
int32_t d;
61666166
uint32_t new_seq;
6167+
uint16_t seq;
6168+
uint32_t ts;
61676169

61686170
if (!s)
61696171
return;
61706172

6171-
uint16_t seq = ntohs(rtp->rtp_header->seq_num);
6172-
uint32_t ts = ntohl(rtp->rtp_header->timestamp);
6173+
seq = ntohs(rtp->rtp_header->seq_num);
6174+
ts = ntohl(rtp->rtp_header->timestamp);
61736175

61746176
atomic64_inc(&s->packets);
61756177
atomic64_add(rtp->payload_len, &s->bytes);

0 commit comments

Comments
 (0)