summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools_utils.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-04-13 02:09:48 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-04-13 02:09:48 (GMT)
commit3dd92875b2120db5047fd48ee0bc55fb1d1e1763 (patch)
treedfbc14b56725ef02dd431d41b9aab629d79e05a3 /tools/lib/h5tools_utils.c
parent9eeffcb45ea1b6986acc9c002c7cb36d2e6775f6 (diff)
downloadhdf5-3dd92875b2120db5047fd48ee0bc55fb1d1e1763.zip
hdf5-3dd92875b2120db5047fd48ee0bc55fb1d1e1763.tar.gz
hdf5-3dd92875b2120db5047fd48ee0bc55fb1d1e1763.tar.bz2
[svn-r18548] Description:
Minor cleanups to compile with PGI C compiler 10.x. Tested on: Linux 2.4/32 (jam) w/PGI 10.x C and F90 compilers
Diffstat (limited to 'tools/lib/h5tools_utils.c')
-rw-r--r--tools/lib/h5tools_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/h5tools_utils.c b/tools/lib/h5tools_utils.c
index 82e9ab9..c5bc761 100644
--- a/tools/lib/h5tools_utils.c
+++ b/tools/lib/h5tools_utils.c
@@ -315,7 +315,7 @@ print_version(const char *progname)
{
printf("%s: Version %u.%u.%u%s%s\n",
progname, H5_VERS_MAJOR, H5_VERS_MINOR, H5_VERS_RELEASE,
- H5_VERS_SUBRELEASE[0] ? "-" : "", H5_VERS_SUBRELEASE);
+ ((char *)H5_VERS_SUBRELEASE)[0] ? "-" : "", H5_VERS_SUBRELEASE);
}