From 2bd2d711623c0ac9aca55db681724d64e2ca97fb Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Tue, 15 Oct 2024 14:19:52 +0200 Subject: Make gettimeofday() definition match the prototype Should fix #1111 --- crypto/compat/posix_win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/compat/posix_win.c') diff --git a/crypto/compat/posix_win.c b/crypto/compat/posix_win.c index bed8c84..1fbfce1 100644 --- a/crypto/compat/posix_win.c +++ b/crypto/compat/posix_win.c @@ -291,7 +291,7 @@ uid_t getuid(void) #ifdef _MSC_VER struct timezone; -int gettimeofday(struct timeval * tp, struct timezone * tzp) +int gettimeofday(struct timeval *tp, void *tzp) { /* * Note: some broken versions only have 8 trailing zero's, the correct -- cgit v1.2.3-55-g6feb