From 57e65197486beffc8aeb1c32e132bc4136990eab Mon Sep 17 00:00:00 2001 From: Dana Robinson Date: Mon, 11 Apr 2011 11:51:45 -0500 Subject: [svn-r20471] Merged 20453 from trunk (minor fix to quiet compiler warning about integer overflow). --- test/links.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/links.c b/test/links.c index e0e3992..065ae08 100644 --- a/test/links.c +++ b/test/links.c @@ -3566,11 +3566,11 @@ external_set_elink_fapl1(hid_t fapl, hbool_t new_format) sprintf(sv[H5FD_MEM_LHEAP], "%%s-%c.h5", 'l'); memb_name[H5FD_MEM_LHEAP] = sv[H5FD_MEM_LHEAP]; - memb_addr[H5FD_MEM_LHEAP] = HADDR_MAX*2/3; + memb_addr[H5FD_MEM_LHEAP] = (HADDR_MAX/3)*2; sprintf(sv[H5FD_MEM_OHDR], "%%s-%c.h5", 'o'); memb_name[H5FD_MEM_OHDR] = sv[H5FD_MEM_OHDR]; - memb_addr[H5FD_MEM_OHDR] = HADDR_MAX*5/6; + memb_addr[H5FD_MEM_OHDR] = (HADDR_MAX/6)*5; /* create "multi" fapl */ multi_fapl = h5_fileaccess(); -- cgit v0.12