diff options
Diffstat (limited to 'src/H5S.c')
-rw-r--r-- | src/H5S.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1720,7 +1720,7 @@ H5S_encode(H5S_t *obj, unsigned char *buf, size_t *nalloc) FUNC_ENTER_NOAPI(H5S_encode, FAIL) /* Allocate "fake" file structure */ - if(NULL == (f = H5F_fake_alloc(0))) + if(NULL == (f = H5F_fake_alloc((size_t)0))) HGOTO_ERROR(H5E_DATASPACE, H5E_CANTALLOC, FAIL, "can't allocate fake file struct") /* Find out the size of buffer needed for extent */ |