diff options
Diffstat (limited to 'src/H5Sall.c')
-rw-r--r-- | src/H5Sall.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/H5Sall.c b/src/H5Sall.c index 9ac5940..8904339 100644 --- a/src/H5Sall.c +++ b/src/H5Sall.c @@ -177,7 +177,7 @@ H5S_all_fgath (H5F_t *f, const struct H5O_layout_t *layout, hssize_t file_offset[H5O_LAYOUT_NDIMS]; /*offset of slab in file*/ hsize_t hsize[H5O_LAYOUT_NDIMS]; /*size of hyperslab */ hssize_t zero[H5O_LAYOUT_NDIMS]; /*zero */ - uint8 *buf=(uint8 *)_buf; /* Alias for pointer arithmetic */ + uint8_t *buf=(uint8_t*)_buf; /*for pointer arithmetic*/ hsize_t acc; /*accumulator */ intn space_ndims; /*dimensionality of space*/ intn i; /*counters */ @@ -265,7 +265,7 @@ H5S_all_fscat (H5F_t *f, const struct H5O_layout_t *layout, hssize_t file_offset[H5O_LAYOUT_NDIMS]; /*offset of hyperslab */ hsize_t hsize[H5O_LAYOUT_NDIMS]; /*size of hyperslab */ hssize_t zero[H5O_LAYOUT_NDIMS]; /*zero vector */ - const uint8 *buf=(const uint8 *)_buf; /* Alias for pointer arithmetic */ + const uint8_t *buf=(const uint8_t*)_buf; /*for pointer arithmetic*/ hsize_t acc; /*accumulator */ intn space_ndims; /*space dimensionality */ intn i; /*counters */ @@ -350,8 +350,8 @@ H5S_all_mgath (const void *_buf, size_t elmt_size, hsize_t mem_size[H5O_LAYOUT_NDIMS]; /*total size of app buf */ hsize_t hsize[H5O_LAYOUT_NDIMS]; /*size of hyperslab */ hssize_t zero[H5O_LAYOUT_NDIMS]; /*zero */ - const uint8 *buf=(const uint8 *)_buf; /* Get local copies for address arithmetic */ - uint8 *tconv_buf=(uint8 *)_tconv_buf; + const uint8_t *buf=(const uint8_t*)_buf; /* Get local copies for address arithmetic */ + uint8_t *tconv_buf=(uint8_t*)_tconv_buf; hsize_t acc; /*accumulator */ intn space_ndims; /*dimensionality of space*/ intn i; /*counters */ @@ -438,8 +438,8 @@ H5S_all_mscat (const void *_tconv_buf, size_t elmt_size, hsize_t mem_size[H5O_LAYOUT_NDIMS]; /*total size of app buf */ hsize_t hsize[H5O_LAYOUT_NDIMS]; /*size of hyperslab */ hssize_t zero[H5O_LAYOUT_NDIMS]; /*zero */ - uint8 *buf=(uint8 *)_buf; /* Get local copies for address arithmetic */ - const uint8 *tconv_buf=(const uint8 *)_tconv_buf; + uint8_t *buf=(uint8_t*)_buf; /* Get local copies for address arithmetic */ + const uint8_t *tconv_buf=(const uint8_t *)_tconv_buf; hsize_t acc; /*accumulator */ intn space_ndims; /*dimensionality of space*/ intn i; /*counters */ @@ -584,7 +584,7 @@ H5S_all_npoints (const H5S_t *space) REVISION LOG --------------------------------------------------------------------------*/ herr_t -H5S_all_select_serialize (const H5S_t *space, uint8 *buf) +H5S_all_select_serialize (const H5S_t *space, uint8_t *buf) { herr_t ret_value=FAIL; /* return value */ @@ -593,10 +593,10 @@ H5S_all_select_serialize (const H5S_t *space, uint8 *buf) assert(space); /* Store the preamble information */ - UINT32ENCODE(buf, (uint32)space->select.type); /* Store the type of selection */ - UINT32ENCODE(buf, (uint32)1); /* Store the version number */ - UINT32ENCODE(buf, (uint32)0); /* Store the un-used padding */ - UINT32ENCODE(buf, (uint32)0); /* Store the additional information length */ + UINT32ENCODE(buf, (uint32_t)space->select.type); /* Store the type of selection */ + UINT32ENCODE(buf, (uint32_t)1); /* Store the version number */ + UINT32ENCODE(buf, (uint32_t)0); /* Store the un-used padding */ + UINT32ENCODE(buf, (uint32_t)0); /* Store the additional information length */ /* Set success */ ret_value=SUCCEED; |