It will probably be fine, but keep an eye on your temps. i5's and i7's often came with a variant of the stock cooler that had a copper insert at the base, but otherwise they were close to the same size.
It will probably be fine, but keep an eye on your temps. i5's and i7's often came with a variant of the stock cooler that had a copper insert at the base, but otherwise they were close to the same size.