Chase compiler warnings.

Yes, that is the correct way to cast an int to a void *. Using uintptr_t or intptr_t doesn't make any difference. The generated object code will most likely be identical.

I'll submit the patches upstream to tcllib.