logi-test: fixed warning due to implicit truncation