summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2f08ce2)
raw | patch | inline | side by side (parent: 2f08ce2)
author | Sebastian Harl <sh@tokkee.org> | |
Thu, 3 Apr 2014 08:24:48 +0000 (10:24 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Thu, 3 Apr 2014 08:24:48 +0000 (10:24 +0200) |
src/core/store.c | patch | blob | history |
diff --git a/src/core/store.c b/src/core/store.c
index 6420190a319b532ed0db1b2248e4aafd6ee77784..0dec68db0ba9eea881c97bc00a6a178f4356c640 100644 (file)
--- a/src/core/store.c
+++ b/src/core/store.c
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;
}