summaryrefslogtreecommitdiffstats
path: root/src/H5Spublic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Spublic.h')
-rw-r--r--src/H5Spublic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Spublic.h b/src/H5Spublic.h
index 3fe0a31..784ca53 100644
--- a/src/H5Spublic.h
+++ b/src/H5Spublic.h
@@ -22,7 +22,7 @@
/* Define atomic datatypes */
#define H5S_ALL (-2)
-#define H5S_UNLIMITED 0
+#define H5S_UNLIMITED ((size_t)(-1L))
/* Different types of dataspaces */
typedef enum H5S_class_t {