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:
parent
115b06f3d5
commit
6e7251669c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user