summaryrefslogtreecommitdiffstats
path: root/src/H5TB.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-02-17 02:51:21 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-02-17 02:51:21 (GMT)
commitb8dbd390db9b47e73c6120ba61724b1e20ab333d (patch)
tree1fbcef76bf2cc480c2a57e5e26b599f82d85bc7c /src/H5TB.c
parent855aa23823a1091262524773626de3d920838e72 (diff)
downloadhdf5-b8dbd390db9b47e73c6120ba61724b1e20ab333d.zip
hdf5-b8dbd390db9b47e73c6120ba61724b1e20ab333d.tar.gz
hdf5-b8dbd390db9b47e73c6120ba61724b1e20ab333d.tar.bz2
[svn-r4978] Purpose:
Code cleanup Description: Cleanup compiler warnings found by the SGI compiler and gcc 3.0 Platforms tested: FreeBSD 4.5 w/gcc 3.0 (hack) && IRIX64 (modi4)
Diffstat (limited to 'src/H5TB.c')
-rw-r--r--src/H5TB.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5TB.c b/src/H5TB.c
index 4a63462..73892c5 100644
--- a/src/H5TB.c
+++ b/src/H5TB.c
@@ -65,7 +65,7 @@
#include "H5TBprivate.h" /*Threaded, balanced, binary trees */
# define KEYcmp(k1,k2,a) ((NULL!=compar) ? (*compar)( k1, k2, a) \
- : HDmemcmp( k1, k2, 0<(a) ? (a) : HDstrlen(k1) ) )
+ : HDmemcmp( k1, k2, 0<(a) ? ((size_t)a) : HDstrlen(k1) ) )
/* Return maximum of two scalar values (use arguments w/o side effects): */
#define Max(a,b) ( (a) > (b) ? (a) : (b) )