[Fix] repair warnings -Wconversion