diff options
Diffstat (limited to 'src/ports')
-rw-r--r-- | src/ports/SkOSFile_stdio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ports/SkOSFile_stdio.cpp b/src/ports/SkOSFile_stdio.cpp index 6c825b4cb6..9100f6d122 100644 --- a/src/ports/SkOSFile_stdio.cpp +++ b/src/ports/SkOSFile_stdio.cpp @@ -122,7 +122,7 @@ bool sk_isdir(const char *path) if (0 != stat(path, &status)) { return false; } - return (status.st_mode & S_IFDIR); + return SkToBool(status.st_mode & S_IFDIR); } bool sk_mkdir(const char* path) |