fix warning for gcc under centos5.5