diff --git a/src/xcselect/xcode-select.c b/src/xcselect/xcode-select.c index 26a299e5b..5ad83d182 100644 --- a/src/xcselect/xcode-select.c +++ b/src/xcselect/xcode-select.c @@ -151,7 +151,7 @@ void doSwitch(const char* path) char buffer[1024]; bool unused; - if (!xcselect_find_developer_contents_from_path(path, buffer, unused, sizeof(buffer))) + if (!xcselect_find_developer_contents_from_path(path, buffer, &unused, sizeof(buffer))) { fprintf(stderr, "xcode-select: error: invalid developer directory '%s'\n", path); exit(1);