diff options
Diffstat (limited to 'doxygen/examples')
-rw-r--r-- | doxygen/examples/H5DO_examples.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doxygen/examples/H5DO_examples.c b/doxygen/examples/H5DO_examples.c index 7f4096e..2a2d6dd 100644 --- a/doxygen/examples/H5DO_examples.c +++ b/doxygen/examples/H5DO_examples.c @@ -190,7 +190,7 @@ size_t buf_size = CHUNK_NX*CHUNK_NY*sizeof(int); /* Get the size of the compressed chunk */ ret = H5Dget_chunk_storage_size(dataset, offset, &read_chunk_nbytes); - readbuf = HDmalloc(read_chunk_nbytes); + readbuf = malloc(read_chunk_nbytes); pt_readbuf = (const Bytef *)readbuf; /* Use H5DOread_chunk() to read the chunk back */ |