cluster: cast to void(*)(void*,void*) instead of (void*)

This fixes a warning on sunpro c.