Skip to content

Commit

Permalink
Update CCFileUtils.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
halx99 authored Nov 28, 2019
1 parent c647976 commit c1a0e57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cocos/platform/CCFileUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1368,9 +1368,9 @@ int64_t FileUtils::getFileSize(const std::string &filepath) const
return 0;
}

struct stat64 info;
struct stat info;
// Get data associated with "crt_stat.c":
int result = ::stat64(fullpath.c_str(), &info);
int result = ::stat(fullpath.c_str(), &info);

// Check if statistics are valid:
if (result != 0)
Expand Down

0 comments on commit c1a0e57

Please sign in to comment.