Skip to content

Commit eb9b736

Browse files
committed
Use SwiftInt consistently
1 parent 9bf512a commit eb9b736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Frontend/PrintingDiagnosticConsumer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ void PrintingDiagnosticConsumer::flush(bool includeTrailingBreak) {
505505
#if SWIFT_SWIFT_PARSER
506506
if (queuedDiagnostics) {
507507
char *renderedString = nullptr;
508-
ptrdiff_t renderedStringLen = 0;
508+
SwiftInt renderedStringLen = 0;
509509
swift_ASTGen_renderQueuedDiagnostics(
510510
queuedDiagnostics, /*contextSize=*/2, ForceColors ? 1 : 0,
511511
&renderedString, &renderedStringLen);

0 commit comments

Comments
 (0)