[H5r-commits] r75 - / src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Dec 28 18:01:09 CET 2011


Author: extemporaneousb
Date: 2011-12-28 18:01:09 +0100 (Wed, 28 Dec 2011)
New Revision: 75

Added:
   BinaryFiles
Modified:
   src/h5_wrap.c
Log:
Fixed a warning.

Added: BinaryFiles
===================================================================
--- BinaryFiles	                        (rev 0)
+++ BinaryFiles	2011-12-28 17:01:09 UTC (rev 75)
@@ -0,0 +1,6 @@
+src/libwin/i386/hdf5dll.dll
+src/libwin/i386/szip.dll
+src/libwin/i386/zlib1.dll
+src/libwin/x64/hdf5dll-64.dll
+src/libwin/x64/szip-64.dll
+src/libwin/x64/zlib1-64.dll

Modified: src/h5_wrap.c
===================================================================
--- src/h5_wrap.c	2011-12-27 20:34:50 UTC (rev 74)
+++ src/h5_wrap.c	2011-12-28 17:01:09 UTC (rev 75)
@@ -213,7 +213,7 @@
     
     hid_t space = H5Dget_space(HID(h5_obj));
     hid_t memtype = H5Tcreate(H5T_COMPOUND, nmembers*sizeof(int));
-    for (int i; i < nmembers; i++) {
+    for (int i = 0; i < nmembers; i++) {
 	H5Tinsert(memtype, 
 		  H5Tget_member_name(H5Dget_type(HID(h5_obj)), i),
 		  H5Tget_member_offset(H5Dget_type(HID(h5_obj)), i),



More information about the H5r-commits mailing list