static_cast int to CString

I am converting some old VC-6 MFC code to VC-10 (64 bit) that was done by a previous employee and have a problem. There is a template defined that uses a static_cast to convert an int to a CString. The VC-6 compiler had no problem with it but the VC-10 compliler complains.