Index: pkg/fixnum/lib/src/int64.dart |
diff --git a/pkg/fixnum/lib/src/int64.dart b/pkg/fixnum/lib/src/int64.dart |
index 3ef0bc09be1f79f0f6ff8556524bbabce944a4fb..b2a263f273e2d19c608295fdc4d6ac9adeb007fe 100644 |
--- a/pkg/fixnum/lib/src/int64.dart |
+++ b/pkg/fixnum/lib/src/int64.dart |
@@ -625,7 +625,7 @@ class int64 implements intx { |
} |
List<int> toBytes() { |
- List<int> result = new List<int>(8); |
+ List<int> result = new List<int>.fixedLength(8); |
result[0] = _l & 0xff; |
result[1] = (_l >> 8) & 0xff; |
result[2] = ((_m << 6) & 0xfc) | ((_l >> 16) & 0x3f); |