diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2009-01-14 14:01:12 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2009-01-14 14:01:12 (GMT) |
commit | 60915ff8aaa392bebd82826b5b95ab741fedd832 (patch) | |
tree | 0b523fbcdd8db22e7146147a0e19ca40cdca02fd /src/H5Ocache.c | |
parent | bbd83d97e03960839804ef3c87eb6c17fb940acd (diff) | |
download | hdf5-60915ff8aaa392bebd82826b5b95ab741fedd832.zip hdf5-60915ff8aaa392bebd82826b5b95ab741fedd832.tar.gz hdf5-60915ff8aaa392bebd82826b5b95ab741fedd832.tar.bz2 |
[svn-r16307] Description:
Bring r16306 back from trunk:
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 revise_chunks 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 */ |