Skip to content

Commit d82e345

Browse files
author
Arnaud Bouchez
committed
fixed compilation with mORMot 2.2 release
1 parent cb898d6 commit d82e345

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

entries/abouchez/src/brcmormot.lpr

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,8 @@ function TBrcMain.SortedText: RawUtf8;
534534
assert(SizeOf(TBrcStation) = 64); // 64 bytes = CPU L1 cache line size
535535
// read command line parameters
536536
Executable.Command.ExeDescription := 'The mORMot One Billion Row Challenge';
537-
fn := Executable.Command.ArgString(0, 'the data source #filename');
537+
if Executable.Command.Arg(0, 'the data source #filename') then
538+
Utf8ToFileName(Executable.Command.Args[0], fn);
538539
verbose := Executable.Command.Option(
539540
['v', 'verbose'], 'generate verbose output with timing');
540541
affinity := Executable.Command.Option(

0 commit comments

Comments
 (0)