summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-self-heal-entry.c
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-10-26 05:34:21 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-10-26 07:09:24 -0700
commit82dea3043878099e392b71bef9ae5de616ac5533 (patch)
tree4ea2e6e32322bdf2a48a8ca869e0dc7970fe1af8 /xlators/cluster/afr/src/afr-self-heal-entry.c
parentbd145077164ee20e3eb03f09b401e9a3ebdf8b6e (diff)
storage/posix: Ensure time(2) is stored in a 64-bit variable.
Before multiplying the time_t value by 2^32, store it in a 64-bit variable. This is necessary on 32-bit systems, where time_t is only 32-bits, and left-shifting by 32 results in 0. Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 315 (generation number support) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=315
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-entry.c')
0 files changed, 0 insertions, 0 deletions