diff options
Diffstat (limited to 'uemis-downloader.c')
-rw-r--r-- | uemis-downloader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uemis-downloader.c b/uemis-downloader.c index ceac29235..99a1a8bc8 100644 --- a/uemis-downloader.c +++ b/uemis-downloader.c @@ -65,7 +65,7 @@ static void uemis_ts(char *buffer, void *_when) /* float minutes */ static void uemis_duration(char *buffer, duration_t *duration) { - duration->seconds = ascii_strtod(buffer, NULL) * 60 + 0.5; + duration->seconds = rint(ascii_strtod(buffer, NULL) * 60); } /* int cm */ |