]> git.saurik.com Git - apple/configd.git/blobdiff - SystemConfiguration.fproj/SCDList.c
configd-699.1.5.tar.gz
[apple/configd.git] / SystemConfiguration.fproj / SCDList.c
index f77c2190fea6fda7548c860c2f2bf87b17fdb76a..154c93554962ef6082afe76c28cb5a4eb80d4261 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000-2005, 2009-2011 Apple Inc. All rights reserved.
+ * Copyright (c) 2000-2005, 2009-2011, 2013 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
@@ -78,7 +78,7 @@ SCDynamicStoreCopyKeyList(SCDynamicStoreRef store, CFStringRef pattern)
        /* send the pattern & fetch the associated data from the server */
        status = configlist(storePrivate->server,
                            myPatternRef,
-                           myPatternLen,
+                           (mach_msg_type_number_t)myPatternLen,
                            TRUE,               /* isRegex == TRUE */
                            &xmlDataRef,
                            &xmlDataLen,