diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2004-10-26 06:28:16 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2004-10-26 06:28:16 (GMT) |
commit | acab18c8ded316c7c22680757fd55b2b2d3745d3 (patch) | |
tree | 3bd0aa812f3a3e524a4d54c174b9898a116c9de3 /c++ | |
parent | a70dec227665f6a226684e927212eebf6350e382 (diff) | |
download | hdf5-acab18c8ded316c7c22680757fd55b2b2d3745d3.zip hdf5-acab18c8ded316c7c22680757fd55b2b2d3745d3.tar.gz hdf5-acab18c8ded316c7c22680757fd55b2b2d3745d3.tar.bz2 |
[svn-r9458] Purpose: Fixing minor bug
Description:
Kent 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 Kent know
to check on Windows.
Misc. update:
Diffstat (limited to 'c++')
-rw-r--r-- | c++/examples/writedata.cpp | 2 |
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++) |