https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7765ff89ff2169b17b135…
commit 7765ff89ff2169b17b135c82547512b8ae49f452
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Wed May 15 13:17:40 2024 +0300
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Tue Aug 20 13:47:10 2024 +0300
[CRT] Fix prototype of _Strftime
---
sdk/lib/crt/time/strftime.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sdk/lib/crt/time/strftime.c b/sdk/lib/crt/time/strftime.c
index 8cb28b0f751..8eb4a662f04 100644
--- a/sdk/lib/crt/time/strftime.c
+++ b/sdk/lib/crt/time/strftime.c
@@ -112,8 +112,9 @@ static inline BOOL strftime_int(char *str, size_t *pos, size_t max,
* _Strftime (MSVCRT.@)
*/
size_t CDECL _Strftime(char *str, size_t max, const char *format,
- const struct tm *mstm, MSVCRT___lc_time_data *time_data)
+ const struct tm *mstm, void *_Lc_time_arg)
{
+ MSVCRT___lc_time_data *time_data = (MSVCRT___lc_time_data*)_Lc_time_arg;
size_t ret, tmp;
BOOL alternate;