From 0b680a18e567e758b61ee1735a22aec2fa110113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sun, 5 Apr 2020 19:05:12 +0200 Subject: [PATCH] parsers: Fix jingle and jingle_rtp test_size for 32bit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- xmpp-parsers/src/jingle.rs | 2 +- xmpp-parsers/src/jingle_rtp.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xmpp-parsers/src/jingle.rs b/xmpp-parsers/src/jingle.rs index d499038..f5d7be4 100644 --- a/xmpp-parsers/src/jingle.rs +++ b/xmpp-parsers/src/jingle.rs @@ -656,7 +656,7 @@ mod tests { assert_size!(Senders, 1); assert_size!(Disposition, 1); assert_size!(ContentId, 12); - assert_size!(Content, 172); + assert_size!(Content, 204); assert_size!(Reason, 1); assert_size!(ReasonElement, 16); assert_size!(SessionId, 12); diff --git a/xmpp-parsers/src/jingle_rtp.rs b/xmpp-parsers/src/jingle_rtp.rs index 88f9cda..893be1a 100644 --- a/xmpp-parsers/src/jingle_rtp.rs +++ b/xmpp-parsers/src/jingle_rtp.rs @@ -125,9 +125,9 @@ mod tests { #[cfg(target_pointer_width = "32")] #[test] fn test_size() { - assert_size!(Description, 36); + assert_size!(Description, 60); assert_size!(Channels, 1); - assert_size!(PayloadType, 52); + assert_size!(PayloadType, 64); assert_size!(Parameter, 24); }