@@ -539,10 +539,10 @@ class Instrumenter : InstrumenterBase {
539
539
char *start_column_buf = (char *)Context.Allocate (buf_size, 1 );
540
540
char *end_column_buf = (char *)Context.Allocate (buf_size, 1 );
541
541
542
- ::snprintf (start_line_buf, buf_size, " %d " , StartLC.first);
543
- ::snprintf (start_column_buf, buf_size, " %d " , StartLC.second);
544
- ::snprintf (end_line_buf, buf_size, " %d " , EndLC.first);
545
- ::snprintf (end_column_buf, buf_size, " %d " , EndLC.second);
542
+ ::snprintf (start_line_buf, buf_size, " %u " , StartLC.first);
543
+ ::snprintf (start_column_buf, buf_size, " %u " , StartLC.second);
544
+ ::snprintf (end_line_buf, buf_size, " %u " , EndLC.first);
545
+ ::snprintf (end_column_buf, buf_size, " %u " , EndLC.second);
546
546
547
547
Expr *StartLine =
548
548
new (Context) IntegerLiteralExpr (start_line_buf, SR.End , true );
@@ -622,10 +622,10 @@ class Instrumenter : InstrumenterBase {
622
622
char *start_column_buf = (char *)Context.Allocate (buf_size, 1 );
623
623
char *end_column_buf = (char *)Context.Allocate (buf_size, 1 );
624
624
625
- ::snprintf (start_line_buf, buf_size, " %d " , StartLC.first);
626
- ::snprintf (start_column_buf, buf_size, " %d " , StartLC.second);
627
- ::snprintf (end_line_buf, buf_size, " %d " , EndLC.first);
628
- ::snprintf (end_column_buf, buf_size, " %d " , EndLC.second);
625
+ ::snprintf (start_line_buf, buf_size, " %u " , StartLC.first);
626
+ ::snprintf (start_column_buf, buf_size, " %u " , StartLC.second);
627
+ ::snprintf (end_line_buf, buf_size, " %u " , EndLC.first);
628
+ ::snprintf (end_column_buf, buf_size, " %u " , EndLC.second);
629
629
630
630
Expr *StartLine =
631
631
new (Context) IntegerLiteralExpr (start_line_buf, SR.End , true );
0 commit comments