diff options
author | Lukas Larsson <[email protected]> | 2013-02-18 09:30:01 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2013-02-18 09:30:01 +0100 |
commit | d73cdd8a27cb9bcd7bda1143ecb23ea4b032ee91 (patch) | |
tree | c86a11c2087df4e96f3ac47dc72e114d48cb35e0 /lib | |
parent | 1eb56b8359fdc2f695f7439d5343330f3d5a5692 (diff) | |
download | otp-d73cdd8a27cb9bcd7bda1143ecb23ea4b032ee91.tar.gz otp-d73cdd8a27cb9bcd7bda1143ecb23ea4b032ee91.tar.bz2 otp-d73cdd8a27cb9bcd7bda1143ecb23ea4b032ee91.zip |
Updated to fit spec of -type part()
Diffstat (limited to 'lib')
-rw-r--r-- | lib/stdlib/src/binary.erl | 2 |
1 files changed, 1 insertions, 1 deletions
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). |