diff --git a/Source/DataStructureAndEncodingDefinition/gdcmElement.h b/Source/DataStructureAndEncodingDefinition/gdcmElement.h index 54e3796..9e8f176 100644 --- a/Source/DataStructureAndEncodingDefinition/gdcmElement.h +++ b/Source/DataStructureAndEncodingDefinition/gdcmElement.h @@ -690,7 +690,7 @@ template<> class Element { public: - char Internal[VMToLength::Length]; + char Internal[VMToLength::Length * sizeof( VRToType::Type )]; void Print(std::ostream &_os) const { _os << Internal; }