summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2004-11-21 19:24:08 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2004-11-21 19:24:08 (GMT)
commitd58b9bf5b22522cd51949941f1a61949467dc354 (patch)
tree5a458dc43eddd8978b0060babd60dff8f7ecb5d8 /c++
parentafebb37a42312abd87076a3505b33e84b333e468 (diff)
downloadhdf5-d58b9bf5b22522cd51949941f1a61949467dc354.zip
hdf5-d58b9bf5b22522cd51949941f1a61949467dc354.tar.gz
hdf5-d58b9bf5b22522cd51949941f1a61949467dc354.tar.bz2
[svn-r9555] Purpose: Fixing minor bug
Description: Xuan reported that "uint" used in this example caused error when built with MS Visual Studio compiler. Solution: Changed to "int." Platforms tested: Very minor, so I only tested on eirene. I'll let Xuan know to check on Windows. Misc. update:
Diffstat (limited to 'c++')
-rw-r--r--c++/examples/writedata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/examples/writedata.cpp b/c++/examples/writedata.cpp
index fbaac1f..8e0404c 100644
--- a/c++/examples/writedata.cpp
+++ b/c++/examples/writedata.cpp
@@ -54,7 +54,7 @@ int main (void)
/*
* Buffers' initialization.
*/
- uint i,j;
+ int i,j;
int vector[MSPACE1_DIM];
vector[0] = vector[MSPACE1_DIM - 1] = -1;
for (i = 1; i < MSPACE1_DIM - 1; i++)