You should not use a framing nailer for roofing projects.  Roofing nails used to tack down asphalt shingles will not fit correctly into a framing nailer.  It’s not the correct tool for the job.  You also should not use framing nails for roofing as the heads are too small and will counter sink too far.