Corrected spelling mistakes in comments and strings
This commit is contained in:
@ -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");
|
||||
|
||||
Reference in New Issue
Block a user