summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Klishin <michael@rabbitmq.com>2014-06-25 16:34:49 +0400
committerMichael Klishin <michael@rabbitmq.com>2014-06-25 16:34:49 +0400
commit6cae14f9775472c725664bb0f563031be0efa61f (patch)
tree31714eba6e9ba4069a86e9a0a15b7a3a4f5894db
parentfa0f2ec486786de7ffaa47d0d4209b364fa51d6e (diff)
downloadrabbitmq-server-6cae14f9775472c725664bb0f563031be0efa61f.tar.gz
os:timestamp/1 return parts can be 0
-rw-r--r--src/rabbit_misc.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl
index 40afae94..44ca70ef 100644
--- a/src/rabbit_misc.erl
+++ b/src/rabbit_misc.erl
@@ -255,9 +255,9 @@
-spec(store_proc_name/1 :: (rabbit_types:proc_type_and_name()) -> ok).
-spec(moving_average/4 :: (float(), float(), float(), float() | 'undefined')
-> float()).
--spec(timestamp/1 :: ({pos_integer(),
- pos_integer(),
- pos_integer()}) -> pos_integer()).
+-spec(timestamp/1 :: ({non_neg_integer(),
+ non_neg_integer(),
+ non_neg_integer()}) -> pos_integer()).
-endif.
%%----------------------------------------------------------------------------