|
qsort si aspetta una funzione del tipo int (*) (const void *, const void *) mentre CONFRONTA č di tipo int (*) (int *, int *).
Prova con un cast:
qsort(B,r,sizeof(int),(int(*)(const void *, const void *)) CONFRONTA);
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al
andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12
|