* builds/windows/ftsystem.c (FT_Stream_Open): Cast to remove warning.

This commit is contained in:
Alexei Podtelezhnikov 2021-08-17 22:24:46 -04:00
parent 5116f12963
commit 536a10aca8
1 changed files with 2 additions and 2 deletions

View File

@ -217,8 +217,8 @@
return FT_THROW( Invalid_Stream_Handle );
/* open the file */
file = CreateFile( filepathname, GENERIC_READ, FILE_SHARE_READ, NULL,
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0 );
file = CreateFile( (LPCTSTR)filepathname, GENERIC_READ, FILE_SHARE_READ,
NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0 );
if ( file == INVALID_HANDLE_VALUE )
{
FT_ERROR(( "FT_Stream_Open:" ));