patched compiler warnings for unstarchHelpers.c