Fixed gcc warnings
Fixed gcc warnings