aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/binary.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2013-02-18 09:30:01 +0100
committerLukas Larsson <[email protected]>2013-02-18 09:30:01 +0100
commitd73cdd8a27cb9bcd7bda1143ecb23ea4b032ee91 (patch)
treec86a11c2087df4e96f3ac47dc72e114d48cb35e0 /lib/stdlib/src/binary.erl
parent1eb56b8359fdc2f695f7439d5343330f3d5a5692 (diff)
downloadotp-d73cdd8a27cb9bcd7bda1143ecb23ea4b032ee91.tar.gz
otp-d73cdd8a27cb9bcd7bda1143ecb23ea4b032ee91.tar.bz2
otp-d73cdd8a27cb9bcd7bda1143ecb23ea4b032ee91.zip
Updated to fit spec of -type part()
Diffstat (limited to 'lib/stdlib/src/binary.erl')
-rw-r--r--lib/stdlib/src/binary.erl2
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).