Skip to content

include: vlc_arrays: actually return const

Instead of just returning a pointer to the element, use a const function for the const case, so that the compiler properly diagnoses the type mismatch if assigned to a non-const variable.

Merge request reports

Loading