Skip to content

Commit

Permalink
[sourcekit] Fix sourcekitd::UIdentFromSKDUID on the service side, tha…
Browse files Browse the repository at this point in the history
…t is used for logging purposes.
  • Loading branch information
akyrtzi committed Nov 16, 2015
1 parent 868035b commit e8b1a10
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ UIdent sourcekitd::UIdentFromSKDUID(sourcekitd_uid_t SKDUID) {
return UIdent();

xpc_object_t contents = xpc_array_create(nullptr, 0);
xpc_array_set_uint64(contents, XPC_ARRAY_APPEND,
(uint64_t)xpc::Message::UIDSynchronization);
xpc_array_set_uint64(contents, XPC_ARRAY_APPEND, uintptr_t(SKDUID));

xpc_object_t msg = xpc_dictionary_create(nullptr, nullptr, 0);
xpc_array_set_uint64(contents, XPC_ARRAY_APPEND,
(uint64_t)xpc::Message::UIDSynchronization);
xpc_dictionary_set_value(msg, xpc::KeyInternalMsg, contents);
xpc_release(contents);

Expand Down

0 comments on commit e8b1a10

Please sign in to comment.