diff --git a/Src/Particle/AMReX_ParticleTile.H b/Src/Particle/AMReX_ParticleTile.H index a890fdabcba..871acad3533 100644 --- a/Src/Particle/AMReX_ParticleTile.H +++ b/Src/Particle/AMReX_ParticleTile.H @@ -424,7 +424,7 @@ SoAParticle::NextID () if (next > IntParticleIds::LastParticleID) amrex::Abort("SoAParticle::NextID() -- too many particles"); - return next; + return int(next); } template