Fixed gcc compiler warning