patched compiler warnings in starch.c