Warning Shot is a 1967 film about a police sergeant who kills a man while on a stakeout, then must prove that it was self-defense. It is based on the novel 711 - Officer Needs Help by Whit Masterson.
More at Wikipedia.
Release date: January 1, 1967
External links: IMDb