Branch: refs/heads/master Home: https://github.com/OpenAMP/open-amp Commit: 6a835240096a36193584b1a98c17129c8aab37b2 https://github.com/OpenAMP/open-amp/commit/6a835240096a36193584b1a98c17129c8... Author: Simon Leiner simon@leiner.me Date: 2020-07-27 (Mon, 27 Jul 2020)
Changed paths: M lib/include/openamp/virtqueue.h
Log Message: ----------- Cast allocated memory to target type
Although omitting the cast to the target type is idiomatic C, the omission is actually forbidden in ISO C++. This patch enables the header to be used in C++ code.
Signed-off-by: Simon Leiner simon@leiner.me