summaryrefslogtreecommitdiff
path: root/methods/http.cc
diff options
context:
space:
mode:
Diffstat (limited to 'methods/http.cc')
-rw-r--r--methods/http.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/http.cc b/methods/http.cc
index 72e813cb9..9549b23ac 100644
--- a/methods/http.cc
+++ b/methods/http.cc
@@ -599,7 +599,7 @@ int main(int, const char *argv[])
if (UniqueID_ == NULL)
if (void *lockdown = lockdown_connect()) {
- UniqueID_ = lockdown_copy_value(lockdown, NULL, kLockdownUniqueDeviceIDKey);
+ UniqueID_ = (CFStringRef)lockdown_copy_value(lockdown, NULL, kLockdownUniqueDeviceIDKey);
lockdown_disconnect(lockdown);
}