diff --git a/tests/chapter_17/valid/void_pointer/common_pointer_type.c b/tests/chapter_17/valid/void_pointer/common_pointer_type.c index 1a06e35d..c119e340 100644 --- a/tests/chapter_17/valid/void_pointer/common_pointer_type.c +++ b/tests/chapter_17/valid/void_pointer/common_pointer_type.c @@ -34,7 +34,7 @@ int main(void) { // note: effective type of this object is unsigned int, // so we're allowed to access it with an expression of // the corresponding signed type, int. - // if this object were void_ptr instead of array, this would be udnefined + // if this object were void_ptr instead of array, this would be undefined int array_element = my_array[1]; if (array_element != 2) { diff --git a/tests/chapter_17/valid/void_pointer/memory_management_functions.c b/tests/chapter_17/valid/void_pointer/memory_management_functions.c index 81342a2e..6da15981 100644 --- a/tests/chapter_17/valid/void_pointer/memory_management_functions.c +++ b/tests/chapter_17/valid/void_pointer/memory_management_functions.c @@ -49,7 +49,7 @@ int main(void) { } free(double_buffer); - // allocate a buffer with aligned_alloc, make sure it has the correct alignemnt + // allocate a buffer with aligned_alloc, make sure it has the correct alignment char_buffer = aligned_alloc(256, 256); // make sure it's 256 byte-aligned if ((unsigned long) char_buffer % 256) {