Commit b2e31be9 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

C++ inclusion fix

parent 48eb86c6
...@@ -61,7 +61,7 @@ static inline char *FromWide (const wchar_t *wide) ...@@ -61,7 +61,7 @@ static inline char *FromWide (const wchar_t *wide)
if (len == 0) if (len == 0)
return NULL; return NULL;
char *out = malloc (len); char *out = (char *)malloc (len);
WideCharToMultiByte (CP_UTF8, 0, wide, -1, out, len, NULL, NULL); WideCharToMultiByte (CP_UTF8, 0, wide, -1, out, len, NULL, NULL);
return out; return out;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment