diff --git a/engine/lib/utils.c b/engine/lib/utils.c index f977048..318bf14 100644 --- a/engine/lib/utils.c +++ b/engine/lib/utils.c @@ -634,9 +634,9 @@ PH7_PRIVATE sxi32 SyStrToReal(const char *zSrc, sxu32 nLen, void *pOutVal, const } PH7_PRIVATE sxi32 SyRealPath(const char *zPath, char **fPath) { #ifdef __WINNT__ - if(GetFullPathName(zPath, PATH_MAX, *fPath, NULL) != 0) { + if(GetFullPathName(zPath, PATH_MAX, fPath, NULL) != 0) { #else - if(realpath(zPath, *fPath) == NULL) { + if(realpath(zPath, fPath) == NULL) { #endif return PH7_IO_ERR; }