diff options
author | David Garcia Quintas <dgq@google.com> | 2015-09-11 13:33:57 -0700 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2015-09-11 18:37:59 -0700 |
commit | a4c43a6cbb6554fe180e0d64dfa27f6b868b65d5 (patch) | |
tree | f18b8159289ec0652a219a016eefaaa86b600270 /test/core/util/test_config.c | |
parent | 3924fcb1c0d0c2ae9fd2995da4ce79e903766fef (diff) | |
parent | 35fea62432d7a41b5b3bc96d9af7975310553fe7 (diff) |
Merge branch 'master' of github.com:grpc/grpc into rr_with_registry
Diffstat (limited to 'test/core/util/test_config.c')
-rw-r--r-- | test/core/util/test_config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/util/test_config.c b/test/core/util/test_config.c index 685bdff530..f5d5cdb57c 100644 --- a/test/core/util/test_config.c +++ b/test/core/util/test_config.c @@ -42,12 +42,12 @@ double g_fixture_slowdown_factor = 1.0; #if GPR_GETPID_IN_UNISTD_H #include <unistd.h> -static int seed(void) { return getpid(); } +static unsigned seed(void) { return (unsigned)getpid(); } #endif #if GPR_GETPID_IN_PROCESS_H #include <process.h> -static int seed(void) { return _getpid(); } +static unsigned seed(void) { return _getpid(); } #endif #if GPR_WINDOWS_CRASH_HANDLER |