[PATCH] msvcrt: _difftime64() takes 64-bit args.

Huw Davies huw at codeweavers.com
Wed Jun 28 07:49:58 CDT 2017


Signed-off-by: Huw Davies <huw at codeweavers.com>
---
 dlls/api-ms-win-crt-time-l1-1-0/api-ms-win-crt-time-l1-1-0.spec | 2 +-
 dlls/msvcr100/msvcr100.spec                                     | 2 +-
 dlls/msvcr110/msvcr110.spec                                     | 2 +-
 dlls/msvcr120/msvcr120.spec                                     | 2 +-
 dlls/msvcr120_app/msvcr120_app.spec                             | 2 +-
 dlls/msvcr80/msvcr80.spec                                       | 2 +-
 dlls/msvcr90/msvcr90.spec                                       | 2 +-
 dlls/msvcrt/msvcrt.spec                                         | 2 +-
 dlls/ucrtbase/ucrtbase.spec                                     | 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/dlls/api-ms-win-crt-time-l1-1-0/api-ms-win-crt-time-l1-1-0.spec b/dlls/api-ms-win-crt-time-l1-1-0/api-ms-win-crt-time-l1-1-0.spec
index 6cd46b48d8..db36c29a07 100644
--- a/dlls/api-ms-win-crt-time-l1-1-0/api-ms-win-crt-time-l1-1-0.spec
+++ b/dlls/api-ms-win-crt-time-l1-1-0/api-ms-win-crt-time-l1-1-0.spec
@@ -15,7 +15,7 @@
 @ cdecl _ctime64(ptr) ucrtbase._ctime64
 @ cdecl _ctime64_s(str long ptr) ucrtbase._ctime64_s
 @ cdecl _difftime32(long long) ucrtbase._difftime32
-@ cdecl _difftime64(long long) ucrtbase._difftime64
+@ cdecl _difftime64(int64 int64) ucrtbase._difftime64
 @ cdecl _ftime32(ptr) ucrtbase._ftime32
 @ cdecl _ftime32_s(ptr) ucrtbase._ftime32_s
 @ cdecl _ftime64(ptr) ucrtbase._ftime64
diff --git a/dlls/msvcr100/msvcr100.spec b/dlls/msvcr100/msvcr100.spec
index 964f6002c0..fcf235ab0d 100644
--- a/dlls/msvcr100/msvcr100.spec
+++ b/dlls/msvcr100/msvcr100.spec
@@ -768,7 +768,7 @@
 @ varargs _cwscanf_s_l(wstr ptr)
 @ extern _daylight MSVCRT___daylight
 @ cdecl _difftime32(long long) MSVCRT__difftime32
-@ cdecl _difftime64(long long) MSVCRT__difftime64
+@ cdecl _difftime64(int64 int64) MSVCRT__difftime64
 @ stub _dosmaperr
 @ extern _dstbias MSVCRT__dstbias
 @ cdecl _dup(long) MSVCRT__dup
diff --git a/dlls/msvcr110/msvcr110.spec b/dlls/msvcr110/msvcr110.spec
index b2c57454f6..e0b7761045 100644
--- a/dlls/msvcr110/msvcr110.spec
+++ b/dlls/msvcr110/msvcr110.spec
@@ -1116,7 +1116,7 @@
 @ varargs _cwscanf_s_l(wstr ptr)
 @ extern _daylight MSVCRT___daylight
 @ cdecl _difftime32(long long) MSVCRT__difftime32
-@ cdecl _difftime64(long long) MSVCRT__difftime64
+@ cdecl _difftime64(int64 int64) MSVCRT__difftime64
 @ stub _dosmaperr
 @ extern _dstbias MSVCRT__dstbias
 @ cdecl _dup(long) MSVCRT__dup
diff --git a/dlls/msvcr120/msvcr120.spec b/dlls/msvcr120/msvcr120.spec
index d6f2110861..5a2f9c9b40 100644
--- a/dlls/msvcr120/msvcr120.spec
+++ b/dlls/msvcr120/msvcr120.spec
@@ -1108,7 +1108,7 @@
 @ extern _daylight MSVCRT___daylight
 @ cdecl _dclass(double) MSVCR120__dclass
 @ cdecl _difftime32(long long) MSVCRT__difftime32
-@ cdecl _difftime64(long long) MSVCRT__difftime64
+@ cdecl _difftime64(int64 int64) MSVCRT__difftime64
 @ stub _dosmaperr
 @ cdecl _dpcomp(double double) MSVCR120__dpcomp
 @ cdecl _dsign(double) MSVCR120__dsign
diff --git a/dlls/msvcr120_app/msvcr120_app.spec b/dlls/msvcr120_app/msvcr120_app.spec
index 4bb1afb7cc..5c6093c78b 100644
--- a/dlls/msvcr120_app/msvcr120_app.spec
+++ b/dlls/msvcr120_app/msvcr120_app.spec
@@ -1047,7 +1047,7 @@
 @ extern _daylight msvcr120._daylight
 @ cdecl _dclass(double) msvcr120._dclass
 @ cdecl _difftime32(long long) msvcr120._difftime32
-@ cdecl _difftime64(long long) msvcr120._difftime64
+@ cdecl _difftime64(int64 int64) msvcr120._difftime64
 @ stub _dosmaperr
 @ cdecl _dpcomp(double double) msvcr120._dpcomp
 @ cdecl _dsign(double) msvcr120._dsign
diff --git a/dlls/msvcr80/msvcr80.spec b/dlls/msvcr80/msvcr80.spec
index de945d5d3e..6c3c33c319 100644
--- a/dlls/msvcr80/msvcr80.spec
+++ b/dlls/msvcr80/msvcr80.spec
@@ -433,7 +433,7 @@
 @ extern _daylight MSVCRT___daylight
 @ cdecl _decode_pointer(ptr) MSVCRT_decode_pointer
 @ cdecl _difftime32(long long) MSVCRT__difftime32
-@ cdecl _difftime64(long long) MSVCRT__difftime64
+@ cdecl _difftime64(int64 int64) MSVCRT__difftime64
 @ stub _dosmaperr
 @ extern _dstbias MSVCRT__dstbias
 @ cdecl _dup(long) MSVCRT__dup
diff --git a/dlls/msvcr90/msvcr90.spec b/dlls/msvcr90/msvcr90.spec
index 8b4a77c96a..d0ce27186e 100644
--- a/dlls/msvcr90/msvcr90.spec
+++ b/dlls/msvcr90/msvcr90.spec
@@ -416,7 +416,7 @@
 @ extern _daylight MSVCRT___daylight
 @ cdecl _decode_pointer(ptr) MSVCRT_decode_pointer
 @ cdecl _difftime32(long long) MSVCRT__difftime32
-@ cdecl _difftime64(long long) MSVCRT__difftime64
+@ cdecl _difftime64(int64 int64) MSVCRT__difftime64
 @ stub _dosmaperr
 @ extern _dstbias MSVCRT__dstbias
 @ cdecl _dup(long) MSVCRT__dup
diff --git a/dlls/msvcrt/msvcrt.spec b/dlls/msvcrt/msvcrt.spec
index 1a887d3aa7..e2b72e8de5 100644
--- a/dlls/msvcrt/msvcrt.spec
+++ b/dlls/msvcrt/msvcrt.spec
@@ -403,7 +403,7 @@
 @ varargs _cwscanf_s_l(wstr ptr)
 @ extern _daylight MSVCRT___daylight
 @ cdecl _difftime32(long long) MSVCRT__difftime32
-@ cdecl _difftime64(long long) MSVCRT__difftime64
+@ cdecl _difftime64(int64 int64) MSVCRT__difftime64
 @ extern _dstbias MSVCRT__dstbias
 @ cdecl _dup (long) MSVCRT__dup
 @ cdecl _dup2 (long long) MSVCRT__dup2
diff --git a/dlls/ucrtbase/ucrtbase.spec b/dlls/ucrtbase/ucrtbase.spec
index 78ae7d6166..5d13712d29 100644
--- a/dlls/ucrtbase/ucrtbase.spec
+++ b/dlls/ucrtbase/ucrtbase.spec
@@ -252,7 +252,7 @@
 @ cdecl _dclass(double) MSVCR120__dclass
 @ stub _dexp
 @ cdecl _difftime32(long long) MSVCRT__difftime32
-@ cdecl _difftime64(long long) MSVCRT__difftime64
+@ cdecl _difftime64(int64 int64) MSVCRT__difftime64
 @ stub _dlog
 @ stub _dnorm
 @ cdecl _dpcomp(double double) MSVCR120__dpcomp
-- 
2.12.0




More information about the wine-patches mailing list