summaryrefslogtreecommitdiff
path: root/libutils/Unicode_test.cpp
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2015-04-30 15:12:21 -0700
committerYing Wang <wangying@google.com>2015-06-09 12:44:41 -0700
commit20bbd4f44943bb8c8f0097790d1c8d6051760fda (patch)
tree951dddc6eac8367880599fa3586fa20429f9d531 /libutils/Unicode_test.cpp
parentdca1bb5e79e197676356f374939b7ca5dfd1a195 (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 (cherry-pick from commit 56b37345d99f2cd85720f6b1aa1934fa3bfe29a6)
Diffstat (limited to 'libutils/Unicode_test.cpp')
0 files changed, 0 insertions, 0 deletions