diff options
| author | Thomas Voss <mail@thomasvoss.com> | 2026-03-04 20:34:29 +0100 |
|---|---|---|
| committer | Thomas Voss <mail@thomasvoss.com> | 2026-03-04 20:34:29 +0100 |
| commit | 0abb3adbdc44b4bf740269f7dc5e4380ffe18e84 (patch) | |
| tree | 1d1d2cddd1359ca5ed59e87a6016f24408a22573 /oryxc/src/parser.rs | |
| parent | e151a862229dde1b2c2ab2c2673de4a1a6854483 (diff) | |
Add required casts
Diffstat (limited to 'oryxc/src/parser.rs')
| -rw-r--r-- | oryxc/src/parser.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oryxc/src/parser.rs b/oryxc/src/parser.rs index 45999aa..d27a002 100644 --- a/oryxc/src/parser.rs +++ b/oryxc/src/parser.rs @@ -890,14 +890,14 @@ impl<'a> Parser<'a> { }; let nexprs = p.scratch.len() - exprbeg; let extra_data_beg = p.extra_data.len(); - p.extra_data.push(nexprs); + p.extra_data.push(nexprs as u32); for x in &p.scratch[exprbeg..] { p.extra_data.push(*x); } return Ok(p.new_node(AstNode { kind: AstType::FunCall, tok, - sub: SubNodes(lhs, extra_data_beg), + sub: SubNodes(lhs, extra_data_beg as u32), })); })? }, |