diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2013-08-15 13:24:28 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2013-08-15 13:24:28 (GMT) |
commit | 453f95c192ee8db44299b02abf95698e8bf247ce (patch) | |
tree | 6159148b3498c9540ceb3ed00f63bd34639100cb /hl/test | |
parent | b6f7e6e79c7f8121559165195e6ad6b9872dff3f (diff) | |
download | hdf5-453f95c192ee8db44299b02abf95698e8bf247ce.zip hdf5-453f95c192ee8db44299b02abf95698e8bf247ce.tar.gz hdf5-453f95c192ee8db44299b02abf95698e8bf247ce.tar.bz2 |
[svn-r24011] Description:
Clean up a few warnings
Tested on:
Mac OSX 10.8.4 (amazon) w/C++ & FORTRAN
(too minor to require h5committest)
Diffstat (limited to 'hl/test')
-rw-r--r-- | hl/test/test_ds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/test/test_ds.c b/hl/test/test_ds.c index 1bfa23f..57a2b89 100644 --- a/hl/test/test_ds.c +++ b/hl/test/test_ds.c @@ -3126,7 +3126,7 @@ static int test_simple(void) if(H5DSget_scale_name(dsid, name_out, (size_t)name_len+1) < 0) goto out; - if(HDstrncmp("Latitude set 0",name_out, sizeof(name_out))!=0) + if(HDstrncmp("Latitude set 0",name_out, name_len)!=0) goto out; if(name_out) { HDfree(name_out); |