From d73cdd8a27cb9bcd7bda1143ecb23ea4b032ee91 Mon Sep 17 00:00:00 2001 From: Lukas Larsson Date: Mon, 18 Feb 2013 09:30:01 +0100 Subject: Updated to fit spec of -type part() --- lib/stdlib/src/binary.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/stdlib/src/binary.erl b/lib/stdlib/src/binary.erl index 41b6ab1d5f..de18b6cd54 100644 --- a/lib/stdlib/src/binary.erl +++ b/lib/stdlib/src/binary.erl @@ -186,7 +186,7 @@ part(_, _) -> -spec part(Subject, Pos, Len) -> binary() when Subject :: binary(), Pos :: non_neg_integer(), - Len :: non_neg_integer(). + Len :: integer(). part(_, _, _) -> erlang:nif_error(undef). -- cgit v1.2.3