{"action":"opened","issue":{"url":"https://api.github.com/repos/msoos/cryptominisat/issues/239","labels_url":"https://api.github.com/repos/msoos/cryptominisat/issues/239/labels{/name}","comments_url":"https://api.github.com/repos/msoos/cryptominisat/issues/239/comments","events_url":"https://api.github.com/repos/msoos/cryptominisat/issues/239/events","html_url":"https://github.com/msoos/cryptominisat/issues/239","id":87020476,"number":239,"title":"Cast won't compile under MSVC","user":{"login":"a1880","id":7542797,"avatar_url":"https://avatars.githubusercontent.com/u/7542797?v=3","gravatar_id":"","url":"https://api.github.com/users/a1880","html_url":"https://github.com/a1880","followers_url":"https://api.github.com/users/a1880/followers","following_url":"https://api.github.com/users/a1880/following{/other_user}","gists_url":"https://api.github.com/users/a1880/gists{/gist_id}","starred_url":"https://api.github.com/users/a1880/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a1880/subscriptions","organizations_url":"https://api.github.com/users/a1880/orgs","repos_url":"https://api.github.com/users/a1880/repos","events_url":"https://api.github.com/users/a1880/events{/privacy}","received_events_url":"https://api.github.com/users/a1880/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-10T16:07:15Z","updated_at":"2015-06-10T16:07:15Z","closed_at":null,"body":"In searcher.cpp near line 158 I had to introduce an auxiliary variable to make it compile under VC++\r\n\r\nAs-is:\r\n\t\timplied_by_learnts.push_back(std::make_pair(lit, (uint32_t)cl->stats.glue));\r\n\r\nSuggested:\r\n\r\n#if _MSC_VER\r\n\t\tuint32_t glue = cl->stats.glue;\r\n\t\timplied_by_learnts.push_back(std::make_pair(lit, glue));\r\n#else\r\n\t\timplied_by_learnts.push_back(std::make_pair(lit, (uint32_t)cl->stats.glue));\r\n#endif\r\n"}}