[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] small fix to avoid integer overflow
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: [PATCH] small fix to avoid integer overflow |
Date: |
Sat, 17 Mar 2012 13:28:21 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 |
On 03/17/2012 11:36 AM, Robert Millan wrote:
> Hi,
>
> Please consider casting the result of get_days() to time_t before
> converting it to seconds (rather than afterwards). Otherwise it
> becomes affected by Y2K38 bug unnecessarily.
Thank you. Applied.