Skip to content

Commit 2bd2d71

Browse files
botovqbusterb
authored andcommitted
Make gettimeofday() definition match the prototype
Should fix #1111
1 parent 34e1072 commit 2bd2d71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crypto/compat/posix_win.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ uid_t getuid(void)
291291

292292
#ifdef _MSC_VER
293293
struct timezone;
294-
int gettimeofday(struct timeval * tp, struct timezone * tzp)
294+
int gettimeofday(struct timeval *tp, void *tzp)
295295
{
296296
/*
297297
* Note: some broken versions only have 8 trailing zero's, the correct

0 commit comments

Comments
 (0)