Skip to content

Commit 1436606

Browse files
oontvooellishg
andauthored
Update lld/MachO/Driver.cpp
Co-authored-by: Ellis Hoag <[email protected]>
1 parent a9b939e commit 1436606

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lld/MachO/Driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1998,7 +1998,7 @@ bool link(ArrayRef<const char *> argsArr, llvm::raw_ostream &stdoutOS,
19981998
if (auto *arg = args.getLastArg(OPT_slop_scale_eq)) {
19991999
StringRef v(arg->getValue());
20002000
unsigned slop = 0;
2001-
if (!llvm::to_integer(v, slop, 0))
2001+
if (!llvm::to_integer(v, slop))
20022002
error(arg->getSpelling() +
20032003
": expected a non-negative integer, but got '" + v +
20042004
"'");

0 commit comments

Comments
 (0)