implicit conversion loses integer precision [-Wshorten-64-to-32]