mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-29 12:32:48 +00:00
Check that size_t and ptrdiff_t don't have padding
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
4ab3850605
commit
0d7dd3cd43
@ -407,15 +407,17 @@ int main( int argc, char *argv[] )
|
|||||||
} \
|
} \
|
||||||
} while( 0 )
|
} while( 0 )
|
||||||
|
|
||||||
CHECK_PADDING_SIGNED( short, SHRT );
|
CHECK_PADDING_SIGNED( short, SHRT );
|
||||||
CHECK_PADDING_SIGNED( int, INT );
|
CHECK_PADDING_SIGNED( int, INT );
|
||||||
CHECK_PADDING_SIGNED( long, LONG );
|
CHECK_PADDING_SIGNED( long, LONG );
|
||||||
CHECK_PADDING_SIGNED( long long, LLONG );
|
CHECK_PADDING_SIGNED( long long, LLONG );
|
||||||
|
CHECK_PADDING_SIGNED( ptrdiff_t, PTRDIFF );
|
||||||
|
|
||||||
CHECK_PADDING_UNSIGNED( unsigned short, USHRT );
|
CHECK_PADDING_UNSIGNED( unsigned short, USHRT );
|
||||||
CHECK_PADDING_UNSIGNED( unsigned, UINT );
|
CHECK_PADDING_UNSIGNED( unsigned, UINT );
|
||||||
CHECK_PADDING_UNSIGNED( unsigned long, ULONG );
|
CHECK_PADDING_UNSIGNED( unsigned long, ULONG );
|
||||||
CHECK_PADDING_UNSIGNED( unsigned long long, ULLONG );
|
CHECK_PADDING_UNSIGNED( unsigned long long, ULLONG );
|
||||||
|
CHECK_PADDING_UNSIGNED( size_t, SIZE );
|
||||||
|
|
||||||
#undef CHECK_PADDING_SIGNED
|
#undef CHECK_PADDING_SIGNED
|
||||||
#undef CHECK_PADDING_UNSIGNED
|
#undef CHECK_PADDING_UNSIGNED
|
||||||
|
Loading…
x
Reference in New Issue
Block a user