summaryrefslogtreecommitdiffstats
path: root/src/H5public.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5public.h')
-rw-r--r--src/H5public.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5public.h b/src/H5public.h
index 261f580..6226826 100644
--- a/src/H5public.h
+++ b/src/H5public.h
@@ -162,10 +162,10 @@ typedef ssize_t hssize_t;
/*
* File addresses have there own types.
*/
-#if H5_SIZEOF_UINT64_T>=8
+#if H5_SIZEOF_INT64_T>=8
typedef uint64_t haddr_t;
# define HADDR_UNDEF ((haddr_t)(int64_t)(-1))
-# define H5_SIZEOF_HADDR_T H5_SIZEOF_UINT64_T
+# define H5_SIZEOF_HADDR_T H5_SIZEOF_INT64_T
# ifdef H5_HAVE_PARALLEL
# define HADDR_AS_MPI_TYPE MPI_LONG_LONG_INT
# endif /* H5_HAVE_PARALLEL */