Corrected spelling mistakes in comments and strings

This commit is contained in:
Vincent Lefevre
2014-04-07 13:31:00 +02:00
parent d09a46d655
commit 3e9a7e9d69
11 changed files with 18 additions and 18 deletions

View File

@ -2254,7 +2254,7 @@ void c99_vla_test(int size1, int size2)
printf("Test C99 VLA 1 (sizeof): ");
printf("%s\n", (sizeof tab1 == size1 * size2 * 2 * sizeof(int)) ? "PASSED" : "FAILED");
tab1_ptr = tab1;
tab1_ptr = tab1;
tab2_ptr = tab2;
printf("Test C99 VLA 2 (ptrs subtract): ");
printf("%s\n", (tab2 - tab1 == (tab2_ptr - tab1_ptr) / (sizeof(int) * 2)) ? "PASSED" : "FAILED");