curl / Mailing Lists / curl-library / Single Mail


Re: [PATCH v2] timeval.c: Use long long constant type for timeval assignment

From: Daniel Stenberg <>
Date: Mon, 3 Jul 2017 13:31:23 +0200 (CEST)

On Mon, 3 Jul 2017, Martin Kepplinger wrote:

> Thanks Daniel, indeed we have to use signed values. sparse doesn't complain
> on my 32 bit machine, but I still think using long long is even more safe
> here.

Thanks. I made a pull-request out of it so that it gets a round of CI tests
done before we merge:

If Windows use 64 bit time_t, I fear the LL suffixes will cause problems...

Received on 2017-07-03