aboutsummaryrefslogtreecommitdiff
path: root/source/command_line_interface.elna
diff options
context:
space:
mode:
Diffstat (limited to 'source/command_line_interface.elna')
-rw-r--r--source/command_line_interface.elna2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/command_line_interface.elna b/source/command_line_interface.elna
index 54eb87f..6aaf440 100644
--- a/source/command_line_interface.elna
+++ b/source/command_line_interface.elna
@@ -23,7 +23,7 @@ var
parsed: Bool
begin
i := 1;
- result := cast(malloc(#size(CommandLine)): ^CommandLine);
+ result := malloc(#size(CommandLine));
result^.lex := false;
result^.parse := false;
result^.input := nil;