diff options
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 */ |