| Index: runtime/vm/regexp_parser.cc
|
| ===================================================================
|
| --- runtime/vm/regexp_parser.cc (revision 44777)
|
| +++ runtime/vm/regexp_parser.cc (working copy)
|
| @@ -673,7 +673,7 @@
|
| // Start with captures started previous to current position
|
| intptr_t capture_count = captures_started();
|
| // Add count of captures after this position.
|
| - intptr_t n;
|
| + uintptr_t n;
|
| while ((n = current()) != kEndMarker) {
|
| Advance();
|
| switch (n) {
|
| @@ -681,7 +681,7 @@
|
| Advance();
|
| break;
|
| case '[': {
|
| - intptr_t c;
|
| + uintptr_t c;
|
| while ((c = current()) != kEndMarker) {
|
| Advance();
|
| if (c == '\\') {
|
|
|