summaryrefslogtreecommitdiffstats
path: root/src/H5FDlog.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-05-18 15:03:27 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-05-18 15:03:27 (GMT)
commitbcea2068905e02e4d209f105dac7d61ea56b6b35 (patch)
tree30d03c845dbdd1d0744394f2dd0997215323fa43 /src/H5FDlog.c
parent1f85a96f3eadda5ab08ef24008947e6f63c0baa8 (diff)
downloadhdf5-bcea2068905e02e4d209f105dac7d61ea56b6b35.zip
hdf5-bcea2068905e02e4d209f105dac7d61ea56b6b35.tar.gz
hdf5-bcea2068905e02e4d209f105dac7d61ea56b6b35.tar.bz2
[svn-r27099] Merge of r27045 from trunk
Renamed H5_ASSIGN_OVERFLOW() to H5_CHECKED_ASSIGN() and re-ordered the arguments to be in a more logical order. Fixes HDFFV-9322 Tested on: h5committest
Diffstat (limited to 'src/H5FDlog.c')
-rw-r--r--src/H5FDlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDlog.c b/src/H5FDlog.c
index 135b901..107c52a 100644
--- a/src/H5FDlog.c
+++ b/src/H5FDlog.c
@@ -564,7 +564,7 @@ H5FD_log_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxaddr)
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "unable to allocate file struct")
file->fd = fd;
- H5_ASSIGN_OVERFLOW(file->eof, sb.st_size, h5_stat_size_t, haddr_t);
+ H5_CHECKED_ASSIGN(file->eof, haddr_t, sb.st_size, h5_stat_size_t);
file->pos = HADDR_UNDEF;
file->op = OP_UNKNOWN;
#ifdef H5_HAVE_WIN32_API