Fix sprintf warning (PRId64 didn't work for some reason)