summaryrefslogtreecommitdiffstats
path: root/tools/h5tools.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1999-05-21 20:05:19 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1999-05-21 20:05:19 (GMT)
commit5742d7fa04389df95f6c260fc13cda45e6e4bc5f (patch)
tree65e4041bbf9104c497cf9b917756673a8facd417 /tools/h5tools.c
parentfe3079f7e23eba2a716228a37975840ece53c89e (diff)
downloadhdf5-5742d7fa04389df95f6c260fc13cda45e6e4bc5f.zip
hdf5-5742d7fa04389df95f6c260fc13cda45e6e4bc5f.tar.gz
hdf5-5742d7fa04389df95f6c260fc13cda45e6e4bc5f.tar.bz2
[svn-r1271] h5tools.c:
fixed a typo of pointer comparing with char. h5tools.h: Removed ^M from the file. SGI does not like them.
Diffstat (limited to 'tools/h5tools.c')
-rw-r--r--tools/h5tools.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5tools.c b/tools/h5tools.c
index 8bf7287..6d446ea 100644
--- a/tools/h5tools.c
+++ b/tools/h5tools.c
@@ -509,7 +509,7 @@ h5dump_sprint(h5dump_str_t *str/*in,out*/, const h5dump_t *info,
} else if (H5T_STRING==H5Tget_class(type)) {
size = H5Tget_size(type);
quote = '\0';
- if (str->s == '"') {
+ if (*(str->s) == '"') {
quote = 'a';
}
for (i=0; i<size && ((char*)vp)[i] != '\0'; i++) {
@@ -1433,7 +1433,7 @@ static void display_numeric_data
hsize_t p_nelmts, hsize_t dim_n_size, hsize_t elmtno) {
hsize_t i;
-//char p_buf[256];
+/*char p_buf[256]; */
char out_buf[NCOLS];
struct h5dump_str_t tempstr;