Skip to content

app/core fix missing sentinel in function call warning

Building with clang i have "missing sentinel in function call" warning. The C callers to such functions use the C NULL definition (ie ((void*)0)), which is a valid sentinel. However the C++ NULL definition (ie 0L), is not a valid sentinel without an explicit cast to a pointer type.

Edited by lillolollo

Merge request reports

Loading