summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2008-04-09 14:56:17 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2008-04-09 14:56:17 (GMT)
commit19077b27d0885b9414a41e75cf7f5f151665e2ad (patch)
tree5115fcc35b39b20774eefe3a13ea9f5d96c587f2 /src
parentb4bae33f23dfc1d737ca4485b04c95282a995515 (diff)
downloadhdf5-19077b27d0885b9414a41e75cf7f5f151665e2ad.zip
hdf5-19077b27d0885b9414a41e75cf7f5f151665e2ad.tar.gz
hdf5-19077b27d0885b9414a41e75cf7f5f151665e2ad.tar.bz2
[svn-r14823] Fixed a bug in CHECK_ABSOLUTE() for windows.
Fixed declaration for H5_build_extpath() to remove the warning messages. Tested on kagiso, linew, smirom.
Diffstat (limited to 'src')
-rw-r--r--src/H5private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 6a5590b..90d31af 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -927,7 +927,7 @@ extern char *strdup(const char *s);
#define DIR_SEPC '\\'
#define DIR_SEPS "\\"
#define CHECK_DELIMITER(SS) ((SS == DIR_SEPC)||(SS == DIR_SLASH_SEPC))
-#define CHECK_ABSOLUTE(NAME) (((isalpha(NAME[0])) && (NAME[1] == ':') && CHECK_DELIMITER(NAME[2]))
+#define CHECK_ABSOLUTE(NAME) ((isalpha(NAME[0])) && (NAME[1] == ':') && (CHECK_DELIMITER(NAME[2])))
#define CHECK_ABS_DRIVE(NAME) ((isalpha(NAME[0])) && (NAME[1] == ':'))
#define CHECK_ABS_PATH(NAME) (CHECK_DELIMITER(NAME[0]))
@@ -955,7 +955,7 @@ extern char *strdup(const char *s);
#endif
#define COLON_SEPC ':'
-H5_DLL herr_t H5_build_extpath(const char *, char **/*out*/);
+H5_DLL herr_t H5_build_extpath(const char *, char ** /*out*/ );
/*