summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-11-13 13:46:47 -0500
committerNick Mathewson <nickm@torproject.org>2015-11-13 13:46:47 -0500
commit7a940fac1c7f0ff81f58ed26350fed57e26b2642 (patch)
tree63ead66aa0b78a8f680ff87b80be2b927e12953f /src/common
parentd4672273233d539889f85cad1676395e46e48ef7 (diff)
downloadtor-7a940fac1c7f0ff81f58ed26350fed57e26b2642.tar.gz
tor-7a940fac1c7f0ff81f58ed26350fed57e26b2642.zip
appease check-spaces
Diffstat (limited to 'src/common')
-rw-r--r--src/common/util.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 6a5b13e07a..ce3646cd64 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -5415,7 +5415,8 @@ tor_weak_random_range(tor_weak_rng_t *rng, int32_t top)
/** Cast a given double value to a int64_t. Return 0 if number is NaN.
* Returns either INT64_MIN or INT64_MAX if number is outside of the int64_t
* range. */
-int64_t clamp_double_to_int64(double number)
+int64_t
+clamp_double_to_int64(double number)
{
int exp;
@@ -5445,3 +5446,4 @@ int64_t clamp_double_to_int64(double number)
/* Handle infinities and finite numbers with magnitude >= 2^63. */
return signbit(number) ? INT64_MIN : INT64_MAX;
}
+