Unverified Commit 6231a89a authored by Sergei Nikulov's avatar Sergei Nikulov Committed by GitHub
Browse files

timeval: remove compilation warning by casting (#2417)

This is fixes #2358
parent db1b2c7f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -128,7 +128,7 @@ struct curltime Curl_now(void)
  struct curltime ret;
  (void)gettimeofday(&now, NULL);
  ret.tv_sec = now.tv_sec;
  ret.tv_usec = now.tv_usec;
  ret.tv_usec = (int)now.tv_usec;
  return ret;
}