mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
unit1303: fix compiler warning
MinGW-w64 complains: warning: conversion to 'long int' from 'time_t {aka long long int}' may alter its value [-Wconversion] Fix this by using the correct type.
This commit is contained in:
parent
2af10b2c0b
commit
05c9f42e52
@ -64,14 +64,14 @@ struct timetest {
|
||||
int timeout_ms;
|
||||
int connecttimeout_ms;
|
||||
bool connecting;
|
||||
long result;
|
||||
time_t result;
|
||||
const char *comment;
|
||||
};
|
||||
|
||||
UNITTEST_START
|
||||
{
|
||||
struct timeval now;
|
||||
long timeout;
|
||||
time_t timeout;
|
||||
unsigned int i;
|
||||
|
||||
const struct timetest run[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user