Daniel Lehman : msvcp110: Make argument const for _Xtime_diff functions.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Oct 28 10:16:14 CDT 2015
Module: wine
Branch: master
Commit: 4d5f866d99752441648b551aa95aee70c9e8efc0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4d5f866d99752441648b551aa95aee70c9e8efc0
Author: Daniel Lehman <dlehman at esri.com>
Date: Tue Oct 27 17:25:11 2015 -0700
msvcp110: Make argument const for _Xtime_diff functions.
Signed-off-by: Daniel Lehman <dlehman at esri.com>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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;
More information about the wine-cvs
mailing list