Tighten up a couple method signatures to specify that int is required.

BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//878603009
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 30acb85..1636f1f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 0.12.0+2
+  * No user impacting changes. Tighten up a couple method signatures to specify
+  that int is required.
+
 ## 0.12.0+1
   * Fixes bug with printing a percent or permille format with no fraction
   part and a number with no integer part. For example, print 0.12 with a
diff --git a/lib/src/intl/date_format_helpers.dart b/lib/src/intl/date_format_helpers.dart
index 1b42d89..13b3801 100644
--- a/lib/src/intl/date_format_helpers.dart
+++ b/lib/src/intl/date_format_helpers.dart
@@ -124,7 +124,7 @@
    * Return the next [howMany] items, or as many as there are remaining.
    * Advance the stream by that many positions.
    */
-  read([howMany = 1]) {
+  read([int howMany = 1]) {
     var result = peek(howMany);
     index += howMany;
     return result;
@@ -143,7 +143,7 @@
    * Return the next [howMany] items, or as many as there are remaining.
    * Does not modify the stream position.
    */
-  peek([howMany = 1]) {
+  peek([int howMany = 1]) {
     var result;
     if (contents is String) {
       result = contents.substring(
diff --git a/lib/src/intl/number_format.dart b/lib/src/intl/number_format.dart
index db4c7a4..5d9cf08 100644
--- a/lib/src/intl/number_format.dart
+++ b/lib/src/intl/number_format.dart
@@ -710,7 +710,7 @@
     }
 
     var normalizedText = _normalized.toString();
-    var parsed = int.parse(normalizedText, onError: (message) => null);
+    num parsed = int.parse(normalizedText, onError: (message) => null);
     if (parsed == null) parsed = double.parse(normalizedText);
     return parsed / scale;
   }
diff --git a/pubspec.yaml b/pubspec.yaml
index b1ad6c1..d8c36e4 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
 name: intl
-version: 0.12.0+1
+version: 0.12.0+2
 author: Dart Team <misc@dartlang.org>
 description: Contains code to deal with internationalized/localized messages, date and number formatting and parsing, bi-directional text, and other internationalization issues.
 homepage: https://www.dartlang.org