Index: pkg/fixnum/lib/src/int32.dart |
diff --git a/pkg/fixnum/lib/src/int32.dart b/pkg/fixnum/lib/src/int32.dart |
index ac92a7e1b4bbd7b767caa712752762301fe1e1b8..bbff8a0abdf67edf7253136572f4e356de9bdf53 100644 |
--- a/pkg/fixnum/lib/src/int32.dart |
+++ b/pkg/fixnum/lib/src/int32.dart |
@@ -338,7 +338,7 @@ class int32 implements intx { |
int numberOfTrailingZeros() => _numberOfTrailingZeros(_i); |
List<int> toBytes() { |
- List<int> result = new List<int>(4); |
+ List<int> result = new List<int>.fixedLength(4); |
result[0] = _i & 0xff; |
result[1] = (_i >> 8) & 0xff; |
result[2] = (_i >> 16) & 0xff; |