So the %s vs. %d is just a cosmetic thing and it doesn't drive any sanitization?  That gives a wrong sense of security!  Hence, my comment about removing the (int) casts earlier.