Use SkToBool to fix a warning.

Review URL: https://codereview.appspot.com/6818069

git-svn-id: http://skia.googlecode.com/svn/trunk@6240 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
scroggo@google.com 2012-11-01 16:28:23 +00:00
parent 115b06f3d5
commit 6e7251669c

View File

@ -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)