We compare the restriction to the context of weak Hopf algebras of the notion of crossed product with a Hopf algebroid introduced in cite{BB} with the notion of crossed product with a weak Hopf algebra introduced in~cite{AG}