Skip to content

Commit

Permalink
Try to disambiguate between overloads on Mac
Browse files Browse the repository at this point in the history
Presumably Mac has a different understanding of how long `long` is.
Should fix a build error introduced by D125429 that's not visible on
other architectures.
  • Loading branch information
aaronpuchert committed May 13, 2022
1 parent fcbf617 commit 25862f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/AST/CommentParser.cpp
Expand Up @@ -414,7 +414,7 @@ InlineCommandComment *Parser::parseInlineCommand() {
if (Args.size() < Info->NumArgs) {
Diag(CommandTok.getEndLocation().getLocWithOffset(1),
diag::warn_doc_inline_command_not_enough_arguments)
<< CommandTok.is(tok::at_command) << Info->Name << Args.size()
<< CommandTok.is(tok::at_command) << Info->Name << (uint64_t)Args.size()
<< Info->NumArgs
<< SourceRange(CommandTok.getLocation(), CommandTok.getEndLocation());
}
Expand Down

0 comments on commit 25862f5

Please sign in to comment.