summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5CX.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5CX.c b/src/H5CX.c
index 7884506..ad84bd9 100644
--- a/src/H5CX.c
+++ b/src/H5CX.c
@@ -349,7 +349,7 @@ H5CX__init_package(void)
#ifndef H5_HAVE_THREADSAFE
/* Allocate the context stack head pointer */
- if(NULL = (H5CX_head_g = (H5CX_node_t **)HDmalloc(sizeof(H5CX_node_t *))))
+ if(NULL == (H5CX_head_g = (H5CX_node_t **)HDmalloc(sizeof(H5CX_node_t *))))
HGOTO_ERROR(H5E_CONTEXT, H5E_CANTALLOC, FAIL, "can't allocate pointer to head of context stack")
*H5CX_head_g = NULL;
#endif /* H5_HAVE_THREADSAFE */