diff options
Diffstat (limited to 'src/H5Ocomp.c')
-rw-r--r-- | src/H5Ocomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Ocomp.c b/src/H5Ocomp.c index 32c4760..33e927c 100644 --- a/src/H5Ocomp.c +++ b/src/H5Ocomp.c @@ -179,7 +179,7 @@ H5O_pline_encode (H5F_t __unused__ *f, uint8_t *p/*out*/, const void *mesg) assert (mesg); *p++ = H5O_PLINE_VERSION; - *p++ = pline->nfilters; + *p++ = (uint8_t)(pline->nfilters); *p++ = 0; /*reserved 1*/ *p++ = 0; /*reserved 2*/ *p++ = 0; /*reserved 3*/ |