]> git.saurik.com Git - apple/configd.git/blobdiff - SystemConfiguration.fproj/SCDNotifierRemove.c
configd-699.1.5.tar.gz
[apple/configd.git] / SystemConfiguration.fproj / SCDNotifierRemove.c
index 739f4e85a7dfbe7c2c6a1c8b6dc35c131639fd24..20cc423548c9d60e21701e343cfd3a02c7150c27 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@
  * 
@@ -95,7 +95,7 @@ SCDynamicStoreRemoveWatchedKey(SCDynamicStoreRef store, CFStringRef key, Boolean
        /* send the key to the server */
        status = notifyremove(storePrivate->server,
                              myKeyRef,
-                             myKeyLen,
+                             (mach_msg_type_number_t)myKeyLen,
                              isRegex,
                              (int *)&sc_status);