summaryrefslogtreecommitdiff
path: root/test/testnames.c
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2001-10-12 13:26:35 +0000
committerJeff Trawick <trawick@apache.org>2001-10-12 13:26:35 +0000
commitf3256ddef93c845d0361a051c9f273fbf968c4ef (patch)
tree467c51c5d3489f2bdc0b109a285c85ec3608de57 /test/testnames.c
parent2a1c3fc57ae0f3db8d0dfd15709fadf23613942a (diff)
downloadapr-f3256ddef93c845d0361a051c9f273fbf968c4ef.tar.gz
clean up some gcc warnings
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62421 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testnames.c')
-rw-r--r--test/testnames.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/testnames.c b/test/testnames.c
index f77a88337..1b3240df2 100644
--- a/test/testnames.c
+++ b/test/testnames.c
@@ -70,11 +70,12 @@ static void closeapr(void)
apr_terminate();
}
-static void root_result(char *path)
+static void root_result(const char *path)
{
apr_status_t status;
char errmsg[256];
- char *root = NULL;
+ const char *root = NULL;
+
status = apr_filepath_root(&root, &path, APR_FILEPATH_NATIVE, context);
apr_strerror(status, errmsg, sizeof(errmsg));
if (root)