diff --git a/vlib/toml/scanner/scanner.v b/vlib/toml/scanner/scanner.v index 7f421227c9..1c61fa8bfe 100644 --- a/vlib/toml/scanner/scanner.v +++ b/vlib/toml/scanner/scanner.v @@ -9,7 +9,7 @@ import toml.util pub const ( digit_extras = [`_`, `.`, `x`, `o`, `b`, `e`, `E`] - end_of_text = 4294967295 + end_of_text = u32(~0) ) // Scanner contains the necessary fields for the state of the scan process.