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 f7aa805..2f2b740 100644
--- a/src/H5Spublic.h
+++ b/src/H5Spublic.h
@@ -21,7 +21,7 @@
#include <H5Ipublic.h>
/* Define atomic datatypes */
-#define H5S_ALL (-2)
+#define H5S_ALL 0
#define H5S_UNLIMITED ((hsize_t)(hssize_t)(-1))
/* Define user-level maximum number of dimensions */