Fixed: Several compiler warnings suppressed/fixed

There is a lot of thinkfunc_t related implicit casting from one
type of pointer to another. Eventually we need a safer solution for
this...