Resolved compile warnings