mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
core/macros: fix SIGNOF() macro with size_t
This commit is contained in:
parent
19943d2aa8
commit
1eb02f7fda
@ -31,7 +31,7 @@ extern "C" {
|
|||||||
unsigned int: 1, \
|
unsigned int: 1, \
|
||||||
unsigned long: 1, \
|
unsigned long: 1, \
|
||||||
unsigned long long: 1, \
|
unsigned long long: 1, \
|
||||||
default: (long long)(a) < 0 ? -1 : 1)
|
default: ((a) > 0LL) ? 1 : -1)
|
||||||
/**
|
/**
|
||||||
* @brief Calculates @p a/ @p b with arithmetic rounding
|
* @brief Calculates @p a/ @p b with arithmetic rounding
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user