c++: convert implicit conversion to explicit ones in header files
c++ does not allow implicit conversions and setting -fpermissive just causes a huge load of warnings to appear and hides real errors. This commit converts those implicit conversions to c-style explicit conversions. Signed-off-by: Alexander Polleti <metapsycholo@gmail.com>
This commit is contained in:
parent
25d17db96b
commit
fb4cb3a878
4 changed files with 13 additions and 8 deletions
|
@ -253,7 +253,7 @@ extern "C" {
|
|||
|
||||
#define _LOG(_level, ...) \
|
||||
__LOG(_level, \
|
||||
LOG_CURRENT_MODULE_ID(), \
|
||||
(u16_t)LOG_CURRENT_MODULE_ID(), \
|
||||
LOG_CURRENT_DYNAMIC_DATA_ADDR(), \
|
||||
__VA_ARGS__)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue