From d97501fffcad67cdc4709514ee98c7b7298df9dc Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Wed, 20 Jul 2011 00:16:42 -0700 Subject: [PATCH] XQuartz: Use CFSTR to avoid implicit cast warning of NSString * to CFStringRef Signed-off-by: Jeremy Huddleston (cherry picked from commit c319f7b5b3ee651636cdfd165588f0dc972a22a4) --- hw/xquartz/X11Application.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xquartz/X11Application.m b/hw/xquartz/X11Application.m index 8762dee5b..6e9de4b92 100644 --- a/hw/xquartz/X11Application.m +++ b/hw/xquartz/X11Application.m @@ -1002,7 +1002,7 @@ void X11ApplicationMain (int argc, char **argv, char **envp) { if (app_prefs_domain_cfstr == NULL) { ErrorF("X11ApplicationMain: Unable to determine bundle identifier. Your installation of XQuartz may be broken.\n"); - app_prefs_domain_cfstr = @LAUNCHD_ID_PREFIX".X11"; + app_prefs_domain_cfstr = CFSTR(LAUNCHD_ID_PREFIX".X11"); } [NSApp read_defaults];