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:
Marcel Raad 2017-04-16 13:54:21 +02:00
parent 2af10b2c0b
commit 05c9f42e52
No known key found for this signature in database
GPG Key ID: B4668817AE6D6CD4
1 changed files with 2 additions and 2 deletions

View File

@ -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[] = {