From 28d051d9baf49382158f2ced7d9b2f11b6d8f608 Mon Sep 17 00:00:00 2001 From: zeliard Date: Mon, 27 Apr 2015 15:51:31 +0900 Subject: remove type casting on gpr_time_to_millis --- src/core/support/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/support') diff --git a/src/core/support/time.c b/src/core/support/time.c index 60a3c23422..7dbf95059f 100644 --- a/src/core/support/time.c +++ b/src/core/support/time.c @@ -245,7 +245,7 @@ gpr_int32 gpr_time_to_millis(gpr_timespec t) { care?) */ return -2147483647; } else { - return (gpr_int32)t.tv_sec * GPR_MS_PER_SEC + (gpr_int32)t.tv_nsec / GPR_NS_PER_MS; + return t.tv_sec * GPR_MS_PER_SEC + t.tv_nsec / GPR_NS_PER_MS; } } -- cgit v1.2.3