aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'reader.cpp')
-rw-r--r--reader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/reader.cpp b/reader.cpp
index 39c0b984..ecf78d84 100644
--- a/reader.cpp
+++ b/reader.cpp
@@ -2038,7 +2038,7 @@ void set_env_cmd_duration(struct timeval *after, struct timeval *before)
} else if (secs < 5400) { // 1.5 hours
swprintf(buf, 16, L"%lum %lus", secs / 60, secs % 60);
} else {
- swprintf(buf, 16, L"%.1fh", secs / 3600.0f);
+ swprintf(buf, 16, L"%.1fh", secs / 3600.0);
}
env_set( ENV_CMD_DURATION, buf, ENV_EXPORT );
}