diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-20 18:26:41 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-20 18:26:41 (GMT) |
commit | 92fd980ca9f16ce688f67a1ae04f129dfa3aacf1 (patch) | |
tree | 1a15cc9d6329b3fcc312d288ac632d9223b10b63 /src/H5private.h | |
parent | 987bc92a01dfe013abced01378ee7e4b3173c797 (diff) | |
download | hdf5-92fd980ca9f16ce688f67a1ae04f129dfa3aacf1.zip hdf5-92fd980ca9f16ce688f67a1ae04f129dfa3aacf1.tar.gz hdf5-92fd980ca9f16ce688f67a1ae04f129dfa3aacf1.tar.bz2 |
[svn-r18595] Description:
Clean up compiler warnings
Tested on:
Mac OS X/32 10.6.3 (amazon) w/debug
(too minor to require h5committest)
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5private.h b/src/H5private.h index c8de6bf..386a3e2 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -1637,7 +1637,7 @@ H5_DLL double H5_trace(const double *calltime, const char *func, const char *typ /* `S' is the name of a function which is being tested to check if its */ /* an API function */ -#define H5_IS_API(S) ('_'!=((char*)S)[2] && '_'!=((char*)S)[3] && (!((char*)S)[4] || '_'!=((char*)S)[4])) +#define H5_IS_API(S) ('_'!=((const char *)S)[2] && '_'!=((const char *)S)[3] && (!((const char *)S)[4] || '_'!=((const char *)S)[4])) /* global library version information string */ extern char H5_lib_vers_info_g[]; |