8000 Remove warning message from clang · python/cpython-source-deps@fa72b05 · GitHub
[go: up one dir, main page]

Skip to content

Commit fa72b05

Browse files
committed
Remove warning message from clang
1 parent 746c3ce commit fa72b05

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

testsuite/libffi.bhaible/test-call.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ int fprintf(FILE *stream, const char *format, ...)
4646
vsprintf(&rbuf1[strlen(rbuf1)], format, args);
4747
break;
4848
case 2:
49-
printf(rbuf1);
49+
printf("%s", rbuf1);
5050
vsprintf(rbuf2, format, args);
5151
break;
5252
case 3:
5353
vsprintf(&rbuf2[strlen(rbuf2)], format, args);
54-
printf(rbuf2);
54+
printf("%s", rbuf2);
5555
if (strcmp (rbuf1, rbuf2)) abort();
5656
break;
5757
}

testsuite/libffi.bhaible/test-callback.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ int fprintf(FILE *stream, const char *format, ...)
4646
vsprintf(&rbuf1[strlen(rbuf1)], format, args);
4747
break;
4848
case 2:
49-
printf(rbuf1);
49+
printf("%s", rbuf1);
5050
vsprintf(rbuf2, format, args);
5151
break;
5252
case 3:
5353
vsprintf(&rbuf2[strlen(rbuf2)], format, args);
54-
printf(rbuf2);
54+
printf("%s", rbuf2);
5555
if (strcmp (rbuf1, rbuf2)) abort();
5656
break;
5757
}

0 commit comments

Comments
 (0)
0