From: malaterre Date: Fri, 5 Nov 2004 20:42:40 +0000 (+0000) Subject: BUG: Thankfully VS6 catch it :) X-Git-Tag: Version0.6.bp~8 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=64ff5e9b18cd35980fc091258e6856fb1055f6e9;p=gdcm.git BUG: Thankfully VS6 catch it :) --- diff --git a/Testing/TestDicomString.cxx b/Testing/TestDicomString.cxx index f12073ed..3915bec8 100644 --- a/Testing/TestDicomString.cxx +++ b/Testing/TestDicomString.cxx @@ -11,7 +11,7 @@ int TestDicomString(int , char* []) assert( a.c_str()[i] == '\0' ); assert( a.data()[i] == '\0' ); } - assert( a.c_str()[3] == '\0' ); + assert( a.c_str()[2] == '\0' ); /* std::string zeros(x, 0);