Patch that removes compile warnings