Skip to content
Commit ab8d0c4f authored by Yannis Damigos's avatar Yannis Damigos Committed by Anas Nashif
Browse files

include/logging: Avoid subtraction on void pointers



Avoid subtraction on void pointers.
void* pointer arithmetic is not allowed by C standard and also C++.
If you include "logging/log.h" into a C++ application it fails to
build.

Signed-off-by: default avatarYannis Damigos <giannis.damigos@gmail.com>
parent 6d3fb8b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment