aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar zeliard <spacesun@naver.com>2015-04-27 15:51:31 +0900
committerGravatar zeliard <spacesun@naver.com>2015-04-27 15:51:31 +0900
commit28d051d9baf49382158f2ced7d9b2f11b6d8f608 (patch)
treee615e42ac210e24a9a608526ba58b607a9a6ba20 /src
parent8ff24593f8fd6d1d1c8824d28da48d31fbb60ff1 (diff)
remove type casting on gpr_time_to_millis
Diffstat (limited to 'src')
-rw-r--r--src/core/support/time.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}