Index: samples/swarm/Decoder.dart |
diff --git a/samples/swarm/Decoder.dart b/samples/swarm/Decoder.dart |
index d4210085107a3bb27a365ee32e4a7fe0bd6c8b67..3772f8ddea8b495ed1060480df784a5f552f97c3 100644 |
--- a/samples/swarm/Decoder.dart |
+++ b/samples/swarm/Decoder.dart |
@@ -24,7 +24,7 @@ class Decoder { |
r |= (v & 0x3F) << (6 * i); |
if ((v & 0x40) == 0) break; |
} |
- return r.toInt(); |
+ return r.truncate(); |
} |
bool readBool() { |