diff options
author | Matthias Radestock <matthias@lshift.net> | 2010-04-09 16:52:20 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@lshift.net> | 2010-04-09 16:52:20 +0100 |
commit | c2e4bd39f1fdf552325fe6b7cd59f6784d50cdf8 (patch) | |
tree | 565a59bc89e66251835f771fe3a479cc8c32b61e /src | |
parent | 180234087c7ad3e32b5439479fdd9603fa955bc6 (diff) | |
download | rabbitmq-server-c2e4bd39f1fdf552325fe6b7cd59f6784d50cdf8.tar.gz |
tweak: better signature for 'ceil'
This was cherry-picked from the bug21673 branch
Diffstat (limited to 'src')
-rw-r--r-- | src/rabbit_misc.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl index 6d50fb32..bbf939c1 100644 --- a/src/rabbit_misc.erl +++ b/src/rabbit_misc.erl @@ -129,7 +129,7 @@ -spec(start_applications/1 :: ([atom()]) -> 'ok'). -spec(stop_applications/1 :: ([atom()]) -> 'ok'). -spec(unfold/2 :: (fun ((A) -> ({'true', B, A} | 'false')), A) -> {[B], A}). --spec(ceil/1 :: (number()) -> number()). +-spec(ceil/1 :: (number()) -> integer()). -spec(queue_fold/3 :: (fun ((any(), B) -> B), B, queue()) -> B). -spec(sort_field_table/1 :: (amqp_table()) -> amqp_table()). -spec(pid_to_string/1 :: (pid()) -> string()). |