Index: lib/src/protobuf/generated_message.dart |
diff --git a/lib/src/protobuf/generated_message.dart b/lib/src/protobuf/generated_message.dart |
index 16209b5c912ec5b7d09e7c4bdb8fa02a279e23e8..62d1a7c56a97994fc8f6a026bd075383abf0fdd7 100644 |
--- a/lib/src/protobuf/generated_message.dart |
+++ b/lib/src/protobuf/generated_message.dart |
@@ -489,7 +489,7 @@ abstract class GeneratedMessage { |
int rawValue = input.readEnum(); |
var value = _getValueOfFunc(tagNumber, extensionRegistry)(rawValue); |
if (value == null) { |
- unknownFields.mergeVarintField(tagNumber, makeLongInt(rawValue)); |
+ unknownFields.mergeVarintField(tagNumber, new Int64(rawValue)); |
} else { |
_fieldValues[tagNumber] = value; |
} |
@@ -564,7 +564,7 @@ abstract class GeneratedMessage { |
int rawValue = input.readEnum(); |
var value = _getValueOfFunc(tagNumber, extensionRegistry)(rawValue); |
if (value == null) { |
- unknownFields.mergeVarintField(tagNumber, makeLongInt(rawValue)); |
+ unknownFields.mergeVarintField(tagNumber, new Int64(rawValue)); |
} else { |
assigner(value); |
} |