diff options
author | Greg Hackmann <ghackmann@google.com> | 2017-02-22 10:35:31 -0800 |
---|---|---|
committer | Greg Hackmann <ghackmann@google.com> | 2017-02-22 10:58:34 -0800 |
commit | 6d90fdc5e5c69a5f16802364c489d51398e856d6 (patch) | |
tree | 7f8d7b23c80f8a4dba84f625f998470efd5f492a /libutils/ProcessCallStack.cpp | |
parent | 1d73abb4436f5c578f05dd016a820e4a37275f75 (diff) |
libcutils: fix Wsign-compare warnings in multiuser_test
gid_t and uid_t are unsigned ints, so we need to compare against unsigned
constants.
Bug: 26936282
Test: mmm system/core/libcutils/tests
Test: adb shell /data/nativetest/libcutils_test/libcutils_test32 \
--gtest_filter=MultiuserTest.* (on hikey)
Test: adb shell /data/nativetest64/libcutils_test/libcutils_test64 \
--gtest_filter=MultiuserTest.* (on hikey)
Change-Id: Ic4c8a137e3f37cb5e95ba925814f201cfd5a06b0
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions