Do not use pointer for file path.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2019-06-25 20:10:27 +02:00
parent 647454b98d
commit 0a2f1133d5
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
1 changed files with 1 additions and 1 deletions

View File

@ -2971,7 +2971,7 @@ PH7_PRIVATE void *PH7_StreamOpenHandle(ph7_vm *pVm, const ph7_io_stream *pStream
int iFlags, int use_include, ph7_value *pResource, int bPushInclude, int *pNew) {
void *pHandle = 0; /* cc warning */
SyString sFile;
char *sFilePath[PATH_MAX + 1];
char sFilePath[PATH_MAX + 1];
int rc;
if(pStream == 0) {
/* No such stream device */