From: Sebastian Harl Date: Thu, 3 Apr 2014 08:24:48 +0000 (+0200) Subject: store: Fixed a conversion warning reported by GCC. X-Git-Tag: sysdb-0.1.0~152 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6e4d3dae2f1545bbf4511865c8ac526ab06c150f;p=sysdb.git store: Fixed a conversion warning reported by GCC. --- diff --git a/src/core/store.c b/src/core/store.c index 6420190..0dec68d 100644 --- a/src/core/store.c +++ b/src/core/store.c @@ -297,7 +297,7 @@ store_obj(int parent_type, const char *parent_name, old->last_update = last_update; if (old->interval) old->interval = (sdb_time_t)((0.9 * (double)old->interval) - + (0.1 * interval)); + + (0.1 * (double)interval)); else old->interval = interval; }