Skip to content
Commit 332115cd authored by Benedek Kupper's avatar Benedek Kupper Committed by Benjamin Cabé
Browse files

drivers: udc: use explicit casts from void* to the target type



This header file provides the public API of the UDC driver,
however it also contains inline function definitions.
Unfortunately these definitions contain implicit pointer conversions,
which are one of the cases where valid C syntax is invalid C++ syntax,
meaning that any C++ source code that intends to use the UDC API
cannot be compiled error-free (or warning-free, if using -fpermissive).

Signed-off-by: default avatarBenedek Kupper <kupper.benedek@gmail.com>
parent 0d2e52e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment