From 1bfdc28c74f8f3eeeb3ea49d00f736f3dbecf1df Mon Sep 17 00:00:00 2001 From: Daniel Lehman Date: Tue, 27 Oct 2015 17:25:11 -0700 Subject: [PATCH] msvcp110: make argument const for _Xtime_diff functions Signed-off-by: Daniel Lehman --- dlls/msvcp90/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msvcp90/misc.c b/dlls/msvcp90/misc.c index 145e4dc..6501ff9 100644 --- a/dlls/msvcp90/misc.c +++ b/dlls/msvcp90/misc.c @@ -398,7 +398,7 @@ int __cdecl xtime_get(xtime* t, int unknown) } /* _Xtime_diff_to_millis2 */ -MSVCRT_long __cdecl _Xtime_diff_to_millis2(xtime *t1, xtime *t2) +MSVCRT_long __cdecl _Xtime_diff_to_millis2(const xtime *t1, const xtime *t2) { __time64_t diff_sec; MSVCRT_long diff_nsec, ret; @@ -413,7 +413,7 @@ MSVCRT_long __cdecl _Xtime_diff_to_millis2(xtime *t1, xtime *t2) } /* _Xtime_diff_to_millis */ -MSVCRT_long __cdecl _Xtime_diff_to_millis(xtime *t) +MSVCRT_long __cdecl _Xtime_diff_to_millis(const xtime *t) { xtime now; -- 1.9.5