Eccolo l'errore:

tmp->info=array[mediana];

Non puoi mettere un array in un int!