]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/strings/vararg.cpp
added a simple benchmark for wxDC::DrawLine() performance
[wxWidgets.git] / tests / strings / vararg.cpp
index 5aca188c423761b06f0f82a0840a12924035142d..c65018c71ff72eef3130f44db3251f0d0eb20d53 100644 (file)
@@ -115,10 +115,12 @@ void VarArgTestCase::CharPrintf()
 
     // test char used as integer:
     #ifdef _MSC_VER
+        #pragma warning(disable:4305) // truncation of constant value in VC6
         #pragma warning(disable:4309) // truncation of constant value
     #endif
     c = 240;
     #ifdef _MSC_VER
+        #pragma warning(default:4305) // truncation of constant value in VC6
         #pragma warning(default:4309)
     #endif
     s.Printf("value is %i (int)", c);