diff --git a/impeller/renderer/blit_pass.cc b/impeller/renderer/blit_pass.cc index 36ef50f40eecc..340ec36bd81e0 100644 --- a/impeller/renderer/blit_pass.cc +++ b/impeller/renderer/blit_pass.cc @@ -48,8 +48,8 @@ bool BlitPass::AddCopy(std::shared_ptr source, VALIDATION_LOG << SPrintF( "The source sample count (%d) must match the destination sample count " "(%d) for blits.", - source->GetTextureDescriptor().sample_count, - destination->GetTextureDescriptor().sample_count); + static_cast(source->GetTextureDescriptor().sample_count), + static_cast(destination->GetTextureDescriptor().sample_count)); return false; }