parsers: Fix jingle and jingle_rtp test_size for 32bit

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2020-04-05 19:05:12 +02:00
parent 080c7b8c95
commit 0b680a18e5
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2
2 changed files with 3 additions and 3 deletions

View file

@ -656,7 +656,7 @@ mod tests {
assert_size!(Senders, 1); assert_size!(Senders, 1);
assert_size!(Disposition, 1); assert_size!(Disposition, 1);
assert_size!(ContentId, 12); assert_size!(ContentId, 12);
assert_size!(Content, 172); assert_size!(Content, 204);
assert_size!(Reason, 1); assert_size!(Reason, 1);
assert_size!(ReasonElement, 16); assert_size!(ReasonElement, 16);
assert_size!(SessionId, 12); assert_size!(SessionId, 12);

View file

@ -125,9 +125,9 @@ mod tests {
#[cfg(target_pointer_width = "32")] #[cfg(target_pointer_width = "32")]
#[test] #[test]
fn test_size() { fn test_size() {
assert_size!(Description, 36); assert_size!(Description, 60);
assert_size!(Channels, 1); assert_size!(Channels, 1);
assert_size!(PayloadType, 52); assert_size!(PayloadType, 64);
assert_size!(Parameter, 24); assert_size!(Parameter, 24);
} }