From 2e2614b0fd44656669450dc901248c907be8aab8 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 3 Feb 2011 15:40:48 +0100 Subject: fix MSVC8 compilation --- test/zerosized.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/zerosized.cpp') diff --git a/test/zerosized.cpp b/test/zerosized.cpp index a50922fdc..06e31cc09 100644 --- a/test/zerosized.cpp +++ b/test/zerosized.cpp @@ -51,7 +51,7 @@ template void zeroSizedVector() if (VectorType::SizeAtCompileTime == Dynamic) { VERIFY(t1.size() == 0); - VectorType t2(long(0)); // long disambiguates with 0-the-null-pointer (error with gcc 4.4) + VectorType t2(DenseIndex(0)); // DenseIndex disambiguates with 0-the-null-pointer (error with gcc 4.4 and MSVC8) VERIFY(t2.size() == 0); } } -- cgit v1.2.3