diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2013-08-15 13:27:24 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2013-08-15 13:27:24 (GMT) |
commit | efb39881a0e4cc59799238a2c6758f41be780abc (patch) | |
tree | 35156dff6ca5f20b7cbc4e0f2e6d5c85baf02742 /hl | |
parent | 4a51e83e60336381c7bb6370ec61b97fc9194918 (diff) | |
download | hdf5-efb39881a0e4cc59799238a2c6758f41be780abc.zip hdf5-efb39881a0e4cc59799238a2c6758f41be780abc.tar.gz hdf5-efb39881a0e4cc59799238a2c6758f41be780abc.tar.bz2 |
[svn-r24012] Description:
Bring r24011 from trunk to 1.8 branch:
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')
-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 ffd6793..2ea8801 100644 --- a/hl/test/test_ds.c +++ b/hl/test/test_ds.c @@ -3134,7 +3134,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); |