commit | ac184b21425a0681c51ef152f0567168b575da49 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Sep 26 14:20:22 2012 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed Sep 26 14:20:22 2012 -0700 |
tree | 08d0842acb148aa0ec9c01a455cefb28240b8fe6 | |
parent | 8e630dacf61307e4681f04fc6b5ee593f30d91d0 [diff] [blame] |
Fix several compiler warnings. Change-Id: I55caa50a5937442734f4fcbdb4edf1c70f335bf8
diff --git a/tests/stubs_test.cpp b/tests/stubs_test.cpp index d2d0ad8..9daaa22 100644 --- a/tests/stubs_test.cpp +++ b/tests/stubs_test.cpp
@@ -34,7 +34,7 @@ TYPE_APP } uid_type_t; -static void check_getpwnam(const char* username, int uid, uid_type_t uid_type) { +static void check_getpwnam(const char* username, uid_t uid, uid_type_t uid_type) { errno = 0; passwd* pwd = getpwuid(uid); ASSERT_TRUE(pwd != NULL);