summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-03-30 17:17:48 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-03-30 18:01:33 (GMT)
commit1988ea6a50c4a08683800c079a1181290d9e09d6 (patch)
tree60b3a5b8f35f6a96c081ad02a5a221c0be569978 /src
parent7fce861b670331bced99d38a241677385cb746d1 (diff)
downloadhdf5-1988ea6a50c4a08683800c079a1181290d9e09d6.zip
hdf5-1988ea6a50c4a08683800c079a1181290d9e09d6.tar.gz
hdf5-1988ea6a50c4a08683800c079a1181290d9e09d6.tar.bz2
HDFFV-10143 Use Windows A version of ExpandEnvironmentStrings
Diffstat (limited to 'src')
-rw-r--r--src/H5PL.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5PL.c b/src/H5PL.c
index 895471f..7f8c1b2 100644
--- a/src/H5PL.c
+++ b/src/H5PL.c
@@ -39,7 +39,7 @@
char *tempbuf; \
if(NULL == (tempbuf = (char *)H5MM_malloc(H5PL_EXPAND_BUFFER_SIZE))) \
HGOTO_ERROR(H5E_PLUGIN, H5E_CANTALLOC, FAIL, "can't allocate memory for expanded path") \
- if((bufCharCount = ExpandEnvironmentStrings(dl_path, tempbuf, H5PL_EXPAND_BUFFER_SIZE)) > H5PL_EXPAND_BUFFER_SIZE) { \
+ if((bufCharCount = ExpandEnvironmentStringsA(dl_path, tempbuf, H5PL_EXPAND_BUFFER_SIZE)) > H5PL_EXPAND_BUFFER_SIZE) { \
tempbuf = (char *)H5MM_xfree(tempbuf); \
HGOTO_ERROR(H5E_PLUGIN, H5E_NOSPACE, FAIL, "expanded path is too long") \
} \