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:13:21 (GMT)
commit037e7a4a72e53f3c08c28d65bb8dc12287548e0c (patch)
tree3a92220ce3524f9e5afe244133a191267f1adc42
parentfb6acd82a01c196e0962bd4bdddfd44dcff8d977 (diff)
downloadhdf5-037e7a4a72e53f3c08c28d65bb8dc12287548e0c.zip
hdf5-037e7a4a72e53f3c08c28d65bb8dc12287548e0c.tar.gz
hdf5-037e7a4a72e53f3c08c28d65bb8dc12287548e0c.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
}