summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-03-30 22:03:08 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-03-30 22:14:20 (GMT)
commit7c0bf0c41d11e47f394587d5095ad29375ae43bc (patch)
treea909b5238550ef9858a3c03c680804ed859c18b5 /test
parent398424ccc079848ae281d159c27db89e6841036d (diff)
downloadhdf5-7c0bf0c41d11e47f394587d5095ad29375ae43bc.zip
hdf5-7c0bf0c41d11e47f394587d5095ad29375ae43bc.tar.gz
hdf5-7c0bf0c41d11e47f394587d5095ad29375ae43bc.tar.bz2
HDFFV-10143 typo cleanup
Diffstat (limited to 'test')
-rw-r--r--test/plugin.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/plugin.c b/test/plugin.c
index cd8bf57..eab0de9 100644
--- a/test/plugin.c
+++ b/test/plugin.c
@@ -741,10 +741,10 @@ error:
static herr_t
test_filter_path_apis(void)
{
- int i;
+ unsigned int i;
unsigned int ndx;
herr_t ret;
- int pathlen = -1;
+ ssize_t pathlen = -1;
char pathname[256];
char tempname[256];
@@ -879,7 +879,7 @@ test_filter_path_apis(void)
if (H5PLget(0, pathname, 256) <= 0)
TEST_ERROR
HDsprintf(tempname, "a_path_%d", H5PL_MAX_PATH_NUM + 1);
- if (strcmp(pathname, tempname") != 0) {
+ if (strcmp(pathname, tempname) != 0) {
HDfprintf(stderr," get 0: %s\n", pathname);
TEST_ERROR
}
@@ -910,7 +910,7 @@ test_filter_path_apis(void)
if (H5PLget(0, pathname, 256) <= 0)
TEST_ERROR
HDsprintf(tempname, "a_path_%d", H5PL_MAX_PATH_NUM + 1);
- if (strcmp(pathname, tempname") != 0) {
+ if (strcmp(pathname, tempname) != 0) {
HDfprintf(stderr," get 0: %s\n", pathname);
TEST_ERROR
}