diff options
author | jtattermusch <jtattermusch@google.com> | 2014-12-09 12:47:19 -0800 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2014-12-09 16:20:55 -0800 |
commit | 98bffb779b8c47f4d76c72c7807d9f1b1074a795 (patch) | |
tree | 063f5c2c993d683fc2b3c5f0dd9f0be4b4f9e5c7 /src/core/support/time_win32.c | |
parent | 5287817527403a2bda28ccdc47f9d5868b91d705 (diff) |
Fixes for GPR library on Windows (+ getting rid of warnings under MS C++ compiler)
Change on 2014/12/09 by jtattermusch <jtattermusch@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81704538
Diffstat (limited to 'src/core/support/time_win32.c')
-rw-r--r-- | src/core/support/time_win32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/support/time_win32.c b/src/core/support/time_win32.c index d9abe2dde1..b9fe512335 100644 --- a/src/core/support/time_win32.c +++ b/src/core/support/time_win32.c @@ -42,8 +42,8 @@ gpr_timespec gpr_now(void) { gpr_timespec now_tv; - struct __timeb64 now_tb; - _ftime64_s(&now_tb); + struct __timeb32 now_tb; + _ftime32_s(&now_tb); now_tv.tv_sec = now_tb.time; now_tv.tv_nsec = now_tb.millitm * 1000000; return now_tv; |