0_0_28597618_30892.cpp: In function 'int main()': 0_0_28597618_30892.cpp:61:33: error: invalid conversion from 'void*' to '_slovo* {aka __slovo*}' [-fpermissive] s=binsearch(&slovo,slova,bcomp); ^