diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2009-01-14 13:09:42 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2009-01-14 13:09:42 (GMT) |
commit | a365f0e6aabfa6a13b008e0263e6a2d6c86d5d7e (patch) | |
tree | a99fc3c171fc1fd0080f8ca9519e907450fba744 /src/H5Ocache.c | |
parent | 84a14c0f25b52a9bba1e2be59051b18cb0317b15 (diff) | |
download | hdf5-a365f0e6aabfa6a13b008e0263e6a2d6c86d5d7e.zip hdf5-a365f0e6aabfa6a13b008e0263e6a2d6c86d5d7e.tar.gz hdf5-a365f0e6aabfa6a13b008e0263e6a2d6c86d5d7e.tar.bz2 |
[svn-r16306] Description:
Bring r16305 back from revise_chunks branch:
Add detection of C99 "designated initializers" to configure script and
use new H5_HAVE_C99_DESIGNATED_INITIALIZER macro to conditionally compile
default layout variables in src/H5Pdcpl.c
Also, minor code cleanups, etc.
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
(Other platforms tested on branch)
Diffstat (limited to 'src/H5Ocache.c')
-rw-r--r-- | src/H5Ocache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Ocache.c b/src/H5Ocache.c index c50f557..e5a772f 100644 --- a/src/H5Ocache.c +++ b/src/H5Ocache.c @@ -706,7 +706,7 @@ H5O_assert(oh); switch(oh->flags & H5O_HDR_CHUNK0_SIZE) { case 0: /* 1 byte size */ HDassert(chunk0_size < 256); - *p++ = chunk0_size; + *p++ = (uint8_t)chunk0_size; break; case 1: /* 2 byte size */ |