diff --git a/parsers/src/avatar.rs b/parsers/src/avatar.rs index 8aef7c87..65ef22f7 100644 --- a/parsers/src/avatar.rs +++ b/parsers/src/avatar.rs @@ -66,7 +66,7 @@ mod tests { #[test] fn test_size() { assert_size!(Metadata, 12); - assert_size!(Info, 64); + assert_size!(Info, 60); assert_size!(Data, 12); } @@ -74,7 +74,7 @@ mod tests { #[test] fn test_size() { assert_size!(Metadata, 24); - assert_size!(Info, 120); + assert_size!(Info, 112); assert_size!(Data, 24); } diff --git a/parsers/src/bob.rs b/parsers/src/bob.rs index 79c4de5b..9639bf50 100644 --- a/parsers/src/bob.rs +++ b/parsers/src/bob.rs @@ -93,15 +93,15 @@ mod tests { #[cfg(target_pointer_width = "32")] #[test] fn test_size() { - assert_size!(ContentId, 28); - assert_size!(Data, 60); + assert_size!(ContentId, 24); + assert_size!(Data, 56); } #[cfg(target_pointer_width = "64")] #[test] fn test_size() { - assert_size!(ContentId, 56); - assert_size!(Data, 120); + assert_size!(ContentId, 48); + assert_size!(Data, 112); } #[test] diff --git a/parsers/src/caps.rs b/parsers/src/caps.rs index d3990b4e..2d1e3c7c 100644 --- a/parsers/src/caps.rs +++ b/parsers/src/caps.rs @@ -222,13 +222,13 @@ mod tests { #[cfg(target_pointer_width = "32")] #[test] fn test_size() { - assert_size!(Caps, 52); + assert_size!(Caps, 48); } #[cfg(target_pointer_width = "64")] #[test] fn test_size() { - assert_size!(Caps, 104); + assert_size!(Caps, 96); } #[test] diff --git a/parsers/src/hashes.rs b/parsers/src/hashes.rs index b899b4a0..c79a71dd 100644 --- a/parsers/src/hashes.rs +++ b/parsers/src/hashes.rs @@ -209,15 +209,15 @@ mod tests { #[cfg(target_pointer_width = "32")] #[test] fn test_size() { - assert_size!(Algo, 16); - assert_size!(Hash, 28); + assert_size!(Algo, 12); + assert_size!(Hash, 24); } #[cfg(target_pointer_width = "64")] #[test] fn test_size() { - assert_size!(Algo, 32); - assert_size!(Hash, 56); + assert_size!(Algo, 24); + assert_size!(Hash, 48); } #[test] diff --git a/parsers/src/jingle.rs b/parsers/src/jingle.rs index bddc3c52..f8e8fdc4 100644 --- a/parsers/src/jingle.rs +++ b/parsers/src/jingle.rs @@ -688,7 +688,7 @@ mod tests { assert_size!(Senders, 1); assert_size!(Disposition, 1); assert_size!(ContentId, 12); - assert_size!(Content, 220); + assert_size!(Content, 216); assert_size!(Reason, 1); assert_size!(ReasonElement, 16); assert_size!(SessionId, 12); diff --git a/parsers/src/jingle_dtls_srtp.rs b/parsers/src/jingle_dtls_srtp.rs index dcf19247..1101b4eb 100644 --- a/parsers/src/jingle_dtls_srtp.rs +++ b/parsers/src/jingle_dtls_srtp.rs @@ -78,14 +78,14 @@ mod tests { #[test] fn test_size() { assert_size!(Setup, 1); - assert_size!(Fingerprint, 32); + assert_size!(Fingerprint, 28); } #[cfg(target_pointer_width = "64")] #[test] fn test_size() { assert_size!(Setup, 1); - assert_size!(Fingerprint, 64); + assert_size!(Fingerprint, 56); } #[test] diff --git a/parsers/src/jingle_ice_udp.rs b/parsers/src/jingle_ice_udp.rs index f464288b..683107f1 100644 --- a/parsers/src/jingle_ice_udp.rs +++ b/parsers/src/jingle_ice_udp.rs @@ -118,7 +118,7 @@ mod tests { #[cfg(target_pointer_width = "32")] #[test] fn test_size() { - assert_size!(Transport, 68); + assert_size!(Transport, 64); assert_size!(Type, 1); assert_size!(Candidate, 88); } @@ -126,7 +126,7 @@ mod tests { #[cfg(target_pointer_width = "64")] #[test] fn test_size() { - assert_size!(Transport, 136); + assert_size!(Transport, 128); assert_size!(Type, 1); assert_size!(Candidate, 128); } diff --git a/parsers/src/jingle_message.rs b/parsers/src/jingle_message.rs index c32da472..2206773b 100644 --- a/parsers/src/jingle_message.rs +++ b/parsers/src/jingle_message.rs @@ -109,13 +109,13 @@ mod tests { #[cfg(target_pointer_width = "32")] #[test] fn test_size() { - assert_size!(JingleMI, 76); + assert_size!(JingleMI, 72); } #[cfg(target_pointer_width = "64")] #[test] fn test_size() { - assert_size!(JingleMI, 152); + assert_size!(JingleMI, 144); } #[test] diff --git a/parsers/src/xhtml.rs b/parsers/src/xhtml.rs index dcd259f6..f89b4e2d 100644 --- a/parsers/src/xhtml.rs +++ b/parsers/src/xhtml.rs @@ -504,16 +504,16 @@ mod tests { #[test] fn test_size() { assert_size!(XhtmlIm, 32); - assert_size!(Child, 52); - assert_size!(Tag, 52); + assert_size!(Child, 48); + assert_size!(Tag, 48); } #[cfg(target_pointer_width = "64")] #[test] fn test_size() { assert_size!(XhtmlIm, 48); - assert_size!(Child, 104); - assert_size!(Tag, 104); + assert_size!(Child, 96); + assert_size!(Tag, 96); } #[test]