commit | 121e64ce97f0834539e688b9a7bd6ce07312741a | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Apr 30 15:12:21 2015 -0700 |
committer | Colin Cross <ccross@android.com> | Thu Apr 30 16:58:26 2015 -0700 |
tree | 74a2f528a41b65d73a201e2f3035f43d96c236ad | |
parent | 25d32048db53e8ac2f7e4ed44c2dfc42cd64415e [diff] |
Fix comparison between signed and unsigned error on darwin mode_t is a uint16_t on darwin, which causes sb.st_mode & ~S_IFMT to produce an int when the uint16_t is promoted for the operator. Cast to unsigned int before comparing against 0660U. Change-Id: Ib1439c08d9e2b297eeeba701891508d269c19a3d