r770: fixed a compiling warning