summaryrefslogtreecommitdiffstats
path: root/src/H5system.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-07-30 22:32:03 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-07-30 22:32:03 (GMT)
commit36befb6bfe1f8f8dd3aa0f8e942fe5decadf5554 (patch)
treeaff30fd3dd5224b782dbed94225b8873536fcd11 /src/H5system.c
parent69d51065d2926f829e4a5f31191ddb2f3364b82d (diff)
downloadhdf5-36befb6bfe1f8f8dd3aa0f8e942fe5decadf5554.zip
hdf5-36befb6bfe1f8f8dd3aa0f8e942fe5decadf5554.tar.gz
hdf5-36befb6bfe1f8f8dd3aa0f8e942fe5decadf5554.tar.bz2
Use HDva_copy() and introduce a bunch of compatbility format-string constants
for uppercase hexadecimal strings, `PRIX...`. Should fix the VS2010 errors that Allen mentioned: H5system.obj : error LNK2019: unresolved external symbol va_copy referenced in function HDvasprintf [C:\autotest\hdf5trunk-StdShar-code-vs10\build\ctest\hdfbld\src\hdf5-shared.vcxproj] 2 ..\..\..\hdfsrc\test\h5test.c(2103): error C2146: syntax error : missing ')' before identifier 'PRIX64' [C:\autotest\hdf5trunk-StdShar-code-vs10\build\ctest\hdfbld\test\hdf5_test-static.vcxproj]
Diffstat (limited to 'src/H5system.c')
-rw-r--r--src/H5system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5system.c b/src/H5system.c
index 310eb11..aa9c73d 100644
--- a/src/H5system.c
+++ b/src/H5system.c
@@ -87,7 +87,7 @@ HDvasprintf(char **bufp, const char *fmt, va_list _ap)
int ret;
va_list ap;
- va_copy(ap, _ap);
+ HDva_copy(ap, _ap);
ret = HDvsnprintf(buf, bufsz, fmt, ap);
va_end(ap);
if (ret >= 0 && (size_t)ret < bufsz) {