diff options
Diffstat (limited to 'Source/CTest/Curl')
-rw-r--r-- | Source/CTest/Curl/getdate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/Curl/getdate.c b/Source/CTest/Curl/getdate.c index fe868a8..6aca48e 100644 --- a/Source/CTest/Curl/getdate.c +++ b/Source/CTest/Curl/getdate.c @@ -2371,7 +2371,7 @@ curl_getdate (const char *p, const time_t *now) cookie.yyHaveTime = 0; cookie.yyHaveZone = 0; - if (yyparse (&cookie) + if (yyparse ((void*)&cookie) || cookie.yyHaveTime > 1 || cookie.yyHaveZone > 1 || cookie.yyHaveDate > 1 || cookie.yyHaveDay > 1) return -1; |