From ad11d954cf296f2bfbe25ad483459c8485197dd1 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Thu, 11 Mar 2010 10:24:11 -0800 Subject: Quiet warning for fts_open Signed-off-by: Jeremy Huddleston --- privileged_startx/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/privileged_startx/server.c b/privileged_startx/server.c index ee508db..4415943 100644 --- a/privileged_startx/server.c +++ b/privileged_startx/server.c @@ -215,7 +215,7 @@ kern_return_t do_privileged_startx(mach_port_t test_port __attribute__((unused)) #endif /* script_dir contains a set of files to run with root privs when X11 starts */ - ftsp = fts_open(path_argv, FTS_PHYSICAL, ftscmp); + ftsp = fts_open((char * const *)path_argv, FTS_PHYSICAL, ftscmp); if(!ftsp) { asl_log(NULL, NULL, ASL_LEVEL_ERR, "do_privileged_startx: fts_open(%s): %s\n", -- cgit v1.2.3