Index: pkg/fixnum/lib/src/int32.dart |
diff --git a/pkg/fixnum/lib/src/int32.dart b/pkg/fixnum/lib/src/int32.dart |
index f7e24aa33e4b2df331449865f571c84e7e44552b..09317b6b682e64089eac96e311ef951a5996ff3e 100644 |
--- a/pkg/fixnum/lib/src/int32.dart |
+++ b/pkg/fixnum/lib/src/int32.dart |
@@ -284,7 +284,7 @@ class Int32 implements IntX { |
return false; |
} |
- int compareTo(Comparable other) { |
+ int compareTo(IntX other) { |
if (other is Int64) { |
return this.toInt64().compareTo(other); |
} |