Unverified Commit 05c9f42e authored by Marcel Raad's avatar Marcel Raad
Browse files

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.
parent 2af10b2c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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[] = {