diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2016-01-04 21:06:42 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2016-01-04 21:06:42 (GMT) |
commit | fd24af380a6666b94491614d3cece80aa3ed763d (patch) | |
tree | c4a458a89448a0f48fe902c5e23c48bf78f113c9 /src | |
parent | 5bf1c024503fac87e4504f91bf821d43507c4508 (diff) | |
download | hdf5-fd24af380a6666b94491614d3cece80aa3ed763d.zip hdf5-fd24af380a6666b94491614d3cece80aa3ed763d.tar.gz hdf5-fd24af380a6666b94491614d3cece80aa3ed763d.tar.bz2 |
[svn-r28791] Description:
Portability fix from 'SIZE_T_MAX' to 'SIZET_MAX'.
Tested on:
MacOSX/64 10.11.2 (amazon) w/serial & parallel
Linux/32 2.6.x (jam) w/serial
Diffstat (limited to 'src')
-rw-r--r-- | src/H5MM.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -157,7 +157,7 @@ H5MM__sanity_check_block(const H5MM_block_t *block) HDassert(block->size > 0); HDassert(block->in_use); /* Check for head & tail guards, if not head of linked list */ - if(block->size != SIZE_T_MAX) { + if(block->size != SIZET_MAX) { HDassert(0 == HDmemcmp(block->b, H5MM_block_head_guard_s, H5MM_HEAD_GUARD_SIZE)); HDassert(0 == HDmemcmp(block->b + H5MM_HEAD_GUARD_SIZE + block->size, H5MM_block_tail_guard_s, H5MM_TAIL_GUARD_SIZE)); } @@ -251,7 +251,7 @@ H5MM_malloc(size_t size) HDmemcpy(H5MM_block_head_s.sig, H5MM_block_signature_s, H5MM_SIG_SIZE); H5MM_block_head_s.next = &H5MM_block_head_s; H5MM_block_head_s.prev = &H5MM_block_head_s; - H5MM_block_head_s.size = SIZE_T_MAX; + H5MM_block_head_s.size = SIZET_MAX; H5MM_block_head_s.in_use = TRUE; H5MM_init_s = TRUE; |