Index: runtime/vm/scanner.h |
diff --git a/runtime/vm/scanner.h b/runtime/vm/scanner.h |
index 5dde14701a80d53bf96d7e142dddf3c34cd166a9..2c5f64a4f5961606eab4a1a82d297137904e4d29 100644 |
--- a/runtime/vm/scanner.h |
+++ b/runtime/vm/scanner.h |
@@ -26,7 +26,7 @@ class String; |
// GetStream() scans the entire source text and returns a stream of tokens. |
class Scanner : ValueObject { |
public: |
- typedef int32_t (*CharAtFunc)(const String& str, intptr_t index); |
+ typedef uint16_t (*CharAtFunc)(const String& str, intptr_t index); |
// SourcePosition describes a text location in user friendly |
// terms of line number and column. |