Browse Source

Do not use pointer for file path.

release/v0.1
Rafal Kupiec 1 year ago
parent
commit
0a2f1133d5
Signed by: belliash GPG Key ID: 4E829243E0CFE6B4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      engine/vfs.c

+ 1
- 1
engine/vfs.c 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 */

Loading…
Cancel
Save