X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/10d256d6c89efbbdee65183045db2f5ff3e528f3..2e9abe9e35d43eee00d5c2078ac0e35d8afcf0b1:/tests/arrays/arrays.cpp diff --git a/tests/arrays/arrays.cpp b/tests/arrays/arrays.cpp index bca37379db..5ed8f5eee3 100644 --- a/tests/arrays/arrays.cpp +++ b/tests/arrays/arrays.cpp @@ -608,8 +608,13 @@ void DoTestSwap(T v1, T v2, T v3, void ArraysTestCase::Swap() { DoTestSwap("Foo", "Bar", "Baz", (wxArrayString *)NULL); + + // VC6 can't compile this call with mysterious error about in DoTestSwap() +#ifndef __VISUALC6__ DoTestSwap(1, 10, 100, (wxArrayInt *)NULL); - DoTestSwap(6, 28, 496, (wxArrayLong *)NULL); +#endif + + DoTestSwap(6L, 28L, 496L, (wxArrayLong *)NULL); } void ArraysTestCase::TestSTL()