mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 14:58:32 +00:00
Put parentheses around macro arguments
This commit is contained in:
parent
36e5fac0fb
commit
05d83fa406
1 changed files with 4 additions and 4 deletions
|
@ -18,7 +18,7 @@
|
||||||
/* <= is checked to support use inside a loop where \
|
/* <= is checked to support use inside a loop where \
|
||||||
pointer is incremented after reading data. */ \
|
pointer is incremented after reading data. */ \
|
||||||
assert( (uint32_t)( ( ( p ) - ( start ) ) + ( step ) ) <= ( len ) );\
|
assert( (uint32_t)( ( ( p ) - ( start ) ) + ( step ) ) <= ( len ) );\
|
||||||
( p ) += step; \
|
( p ) += ( step ); \
|
||||||
} \
|
} \
|
||||||
while( 0 )
|
while( 0 )
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ while( 0 )
|
||||||
#define ALIGN_32BIT(p, start, len) do \
|
#define ALIGN_32BIT(p, start, len) do \
|
||||||
{ \
|
{ \
|
||||||
uint32_t align = ( - (uintptr_t)( p ) ) % 4;\
|
uint32_t align = ( - (uintptr_t)( p ) ) % 4;\
|
||||||
INCR_ASSERT(p, start, len, align); \
|
INCR_ASSERT( ( p ), ( start ), ( len ), align);\
|
||||||
} \
|
} \
|
||||||
while( 0 )
|
while( 0 )
|
||||||
|
|
||||||
|
@ -156,8 +156,8 @@ uint8_t * receive_data( uint32_t * data_len )
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Find count of hex arguments(test function arguments) in the
|
* \brief Parse the received byte array and count the number of arguments
|
||||||
* received binary data.
|
* to the test function passed as type hex.
|
||||||
*
|
*
|
||||||
* \param count Parameter count
|
* \param count Parameter count
|
||||||
* \param data Received Byte array
|
* \param data Received Byte array
|
||||||
|
|
Loading…
Reference in a new issue