From: jpr Date: Thu, 29 Mar 2007 12:02:22 +0000 (+0000) Subject: new int(4) vs new int[4] (as usual ?) X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=7cd88a1f47eccb99922d30d19cda56a5fee5f697;p=gdcm.git new int(4) vs new int[4] (as usual ?) --- diff --git a/Example/ReWriteExtended.cxx b/Example/ReWriteExtended.cxx index 6cf00218..1cac05ee 100755 --- a/Example/ReWriteExtended.cxx +++ b/Example/ReWriteExtended.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: ReWriteExtended.cxx,v $ Language: C++ - Date: $Date: 2007/03/23 15:01:47 $ - Version: $Revision: 1.3 $ + Date: $Date: 2007/03/29 12:02:22 $ + Version: $Revision: 1.4 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -226,7 +226,7 @@ int main(int argc, char *argv[]) else { - boundRoiVal = new int(4); + boundRoiVal = new int[4]; boundRoiVal[0] = 0; boundRoiVal[1] = nX-1; boundRoiVal[2] = 0;