summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Timeout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Timeout.cxx b/src/Fl_Timeout.cxx
index 921c40c75..3c04cae17 100644
--- a/src/Fl_Timeout.cxx
+++ b/src/Fl_Timeout.cxx
@@ -24,7 +24,7 @@
#include <math.h> // for trunc()
#if !HAVE_TRUNC
-static inline double trunc(double x) { x >= 0 ? floor(x) : ceil(x); }
+static inline double trunc(double x) { return x >= 0 ? floor(x) : ceil(x); }
#endif // !HAVE_TRUNC
/**