[reportd] fix compiler warnings