avutil/wchar_filename: Make the header C++ compatible
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Tue, 28 Jun 2022 04:24:17 +0000 (06:24 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Tue, 28 Jun 2022 08:59:31 +0000 (10:59 +0200)
commit4454142782bd3db769939e63ea0f2e5e917dc29d
tree4ddb97e804ad61be39f981f22c28ab806d9bad83
parentc471cc74747461ca166559c7b7fdfe030c3e3712
avutil/wchar_filename: Make the header C++ compatible

When compiling decklink, this header is included from
a C++ file (albeit inside 'extern "C"') and this
causes compilation failures because of an implicit
void* -> char* conversion. So add an explicit cast.
Fixes ticket #9819.

Reviewed-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
libavutil/wchar_filename.h