aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c
index 889b7b61b..de07d496b 100644
--- a/libempathy/empathy-tp-file.c
+++ b/libempathy/empathy-tp-file.c
@@ -891,7 +891,7 @@ empathy_tp_file_get_remaining_time (EmpathyTpFile *tp_file)
remaining_time = time_per_byte * (tp_file->priv->size -
tp_file->priv->transferred_bytes);
- return (gint) (remaining_time + 0.5);
+ return (gint) remaining_time;
}
void