{"action":"closed","issue":{"url":"https://api.github.com/repos/concurrencykit/ck/issues/72","repository_url":"https://api.github.com/repos/concurrencykit/ck","labels_url":"https://api.github.com/repos/concurrencykit/ck/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/concurrencykit/ck/issues/72/comments","events_url":"https://api.github.com/repos/concurrencykit/ck/issues/72/events","html_url":"https://github.com/concurrencykit/ck/issues/72","id":134910652,"number":72,"title":"clang c++ compilation unhappy","user":{"login":"wez","id":117777,"avatar_url":"https://avatars.githubusercontent.com/u/117777?v=3","gravatar_id":"","url":"https://api.github.com/users/wez","html_url":"https://github.com/wez","followers_url":"https://api.github.com/users/wez/followers","following_url":"https://api.github.com/users/wez/following{/other_user}","gists_url":"https://api.github.com/users/wez/gists{/gist_id}","starred_url":"https://api.github.com/users/wez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wez/subscriptions","organizations_url":"https://api.github.com/users/wez/orgs","repos_url":"https://api.github.com/users/wez/repos","events_url":"https://api.github.com/users/wez/events{/privacy}","received_events_url":"https://api.github.com/users/wez/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-19T16:39:56Z","updated_at":"2016-03-01T16:41:18Z","closed_at":"2016-03-01T16:41:18Z","body":"These casts are needed to appease the clang compiler in C++ mode:\r\n\r\n```\r\ndiff --git a/0.5.1/src/ck-0.5.1/include/ck_stack.h b/0.5.1/src/ck-0.5.1/include/ck_stack.h\r\nindex eb2b685..6b86321 100644\r\n--- a/0.5.1/src/ck-0.5.1/include/ck_stack.h\r\n+++ b/0.5.1/src/ck-0.5.1/include/ck_stack.h\r\n@@ -152,7 +152,7 @@ ck_stack_batch_pop_upmc(struct ck_stack *target)\r\n {\r\n        struct ck_stack_entry *entry;\r\n\r\n-       entry = ck_pr_fas_ptr(&target->head, NULL);\r\n+       entry = (struct ck_stack_entry*)ck_pr_fas_ptr(&target->head, NULL);\r\n        ck_pr_fence_load();\r\n        return entry;\r\n }\r\n@@ -276,7 +276,7 @@ ck_stack_push_mpnc(struct ck_stack *target, struct ck_stack_entry *entry)\r\n\r\n        entry->next = NULL;\r\n        ck_pr_fence_store_atomic();\r\n-       stack = ck_pr_fas_ptr(&target->head, entry);\r\n+       stack = (struct ck_stack_entry*)ck_pr_fas_ptr(&target->head, entry);\r\n        ck_pr_store_ptr(&entry->next, stack);\r\n        ck_pr_fence_store();\r\n```\r\n"}}