diff options
Diffstat (limited to 'src/core/statistics/census_rpc_stats.c')
-rw-r--r-- | src/core/statistics/census_rpc_stats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/statistics/census_rpc_stats.c b/src/core/statistics/census_rpc_stats.c index d6638ed641..524a60793a 100644 --- a/src/core/statistics/census_rpc_stats.c +++ b/src/core/statistics/census_rpc_stats.c @@ -70,9 +70,9 @@ static int cmp_str_keys(const void *k1, const void *k2) { } /* TODO(hongyu): replace it with cityhash64 */ -static gpr_uint64 simple_hash(const void *k) { +static uint64_t simple_hash(const void *k) { size_t len = strlen(k); - gpr_uint64 higher = gpr_murmur_hash3((const char *)k, len / 2, 0); + uint64_t higher = gpr_murmur_hash3((const char *)k, len / 2, 0); return higher << 32 | gpr_murmur_hash3((const char *)k + len / 2, len - len / 2, 0); } |