summaryrefslogtreecommitdiffstats
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:03:08 (GMT)
commit8e663833939f5604c608ddaccdcb6cdb6d9d2003 (patch)
tree9412b412b758256d852825ab5afa3696c5b0dc3e
parente40a33f74da188ca7b633d6f6e79f698f518b650 (diff)
downloadhdf5-8e663833939f5604c608ddaccdcb6cdb6d9d2003.zip
hdf5-8e663833939f5604c608ddaccdcb6cdb6d9d2003.tar.gz
hdf5-8e663833939f5604c608ddaccdcb6cdb6d9d2003.tar.bz2
HDFFV-10143 typo cleanup
-rw-r--r--test/plugin.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/plugin.c b/test/plugin.c
index 5dfdcc8..b7ca52b 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
}