]> git.saurik.com Git - apple/configd.git/blobdiff - SystemConfiguration.fproj/SCDGet.c
configd-699.1.5.tar.gz
[apple/configd.git] / SystemConfiguration.fproj / SCDGet.c
index 16784d3d38dba5e190a5d5ac536bf93d884ba698..06360505c997006d5d0ea9ec875d4b498ccf1546 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@
  * 
@@ -96,9 +96,9 @@ SCDynamicStoreCopyMultiple(SCDynamicStoreRef  store,
        /* send the keys and patterns, fetch the associated result from the server */
        status = configget_m(storePrivate->server,
                             myKeysRef,
-                            myKeysLen,
+                            (mach_msg_type_number_t)myKeysLen,
                             myPatternsRef,
-                            myPatternsLen,
+                            (mach_msg_type_number_t)myPatternsLen,
                             &xmlDictRef,
                             &xmlDictLen,
                             (int *)&sc_status);
@@ -175,7 +175,7 @@ SCDynamicStoreCopyValue(SCDynamicStoreRef store, CFStringRef key)
        /* send the key & fetch the associated data from the server */
        status = configget(storePrivate->server,
                           myKeyRef,
-                          myKeyLen,
+                          (mach_msg_type_number_t)myKeyLen,
                           &xmlDataRef,
                           &xmlDataLen,
                           &newInstance,