diff --git a/a3/program.c b/a3/program.c index 38ff74b..a4ad881 100644 --- a/a3/program.c +++ b/a3/program.c @@ -77,8 +77,8 @@ int compare(const void* p1, const void* p2) { //casting, resp. premena dat. typu pointerov na ich spravny typ //nakolko qsort() pozaduje od porovnavaciej funkcie, aby akceptovala pointery s lubovolnym dat. typom (const void*) - struct studentsApplication *s1 = (struct studentsApplication *)p1; - struct studentsApplication *s2 = (struct studentsApplication *)p2; + struct studentApplication *s1 = (struct studentApplication *)p1; + struct studentApplication *s2 = (struct studentApplication *)p2; return strcmp(s1->name, s2->name); }