diff --git a/native/getlinkcount.cpp b/native/getlinkcount.cpp index e11ba7d20..9e8db3d65 100644 --- a/native/getlinkcount.cpp +++ b/native/getlinkcount.cpp @@ -55,7 +55,7 @@ int32_t GetLinkCount(const char* fileName, int32_t *count) if (!fileName) { errno = ERROR_INVALID_PARAMETER; - return FALSE; + return 0; } struct stat statBuf;