Initialization

This commit is contained in:
Kozar 2024-04-25 17:39:11 +02:00
parent 6c24ae9803
commit 415b874983

View File

@ -47,7 +47,7 @@ int main() {
} }
} }
qsort(names, num_accepted, sizeof(char*) * NAME_SIZE, compare_names); qsort(names, num_accepted, sizeof(names[0]), compare_names);
if (num_accepted == 0) { if (num_accepted == 0) {
printf("Ziadne prihlasky"); printf("Ziadne prihlasky");