{"action":"created","comment":{"url":"https://api.github.com/repos/arvidn/libtorrent/pulls/comments/60844606","id":60844606,"diff_hunk":"@@ -197,7 +197,7 @@ namespace\n \t\tfor (int i = 0; i < num_bufs; ++i)\n \t\t{\n \t\t\tDWORD num_read;\n-\t\t\tif (ReadFile(fd, bufs[i].iov_base, bufs[i].iov_len, &num_read, &ol[i]) == FALSE\n+\t\t\tif (ReadFile(fd, bufs[i].iov_base, DWORD(bufs[i].iov_len), &num_read, &ol[i]) == FALSE","path":"src/file.cpp","position":5,"original_position":5,"commit_id":"aae2c393223662dc73a4dee1481b761cd0a9f739","original_commit_id":"aae2c393223662dc73a4dee1481b761cd0a9f739","user":{"login":"arvidn","id":661450,"avatar_url":"https://avatars.githubusercontent.com/u/661450?v=3","gravatar_id":"","url":"https://api.github.com/users/arvidn","html_url":"https://github.com/arvidn","followers_url":"https://api.github.com/users/arvidn/followers","following_url":"https://api.github.com/users/arvidn/following{/other_user}","gists_url":"https://api.github.com/users/arvidn/gists{/gist_id}","starred_url":"https://api.github.com/users/arvidn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvidn/subscriptions","organizations_url":"https://api.github.com/users/arvidn/orgs","repos_url":"https://api.github.com/users/arvidn/repos","events_url":"https://api.github.com/users/arvidn/events{/privacy}","received_events_url":"https://api.github.com/users/arvidn/received_events","type":"User","site_admin":false},"body":"do you think it would be possible to define the iovec_t member iov_len as a DWORD? maybe it would save some of these casts","created_at":"2016-04-24T13:32:08Z","updated_at":"2016-04-24T13:32:08Z","html_url":"https://github.com/arvidn/libtorrent/pull/640#discussion_r60844606","pull_request_url":"https://api.github.com/repos/arvidn/libtorrent/pulls/640","_links":{"self":{"href":"https://api.github.com/repos/arvidn/libtorrent/pulls/comments/60844606"},"html":{"href":"https://github.com/arvidn/libtorrent/pull/640#discussion_r60844606"},"pull_request":{"href":"https://api.github.com/repos/arvidn/libtorrent/pulls/640"}}},"pull_request":{"url":"https://api.github.com/repos/arvidn/libtorrent/pulls/640","id":67636372,"html_url":"https://github.com/arvidn/libtorrent/pull/640","diff_url":"https://github.com/arvidn/libtorrent/pull/640.diff","patch_url":"https://github.com/arvidn/libtorrent/pull/640.patch","issue_url":"https://api.github.com/repos/arvidn/libtorrent/issues/640","number":640,"state":"open","locked":false,"title":"fix x64 build with VS2015 UP2 compiler","user":{"login":"ajax16384","id":340593,"avatar_url":"https://avatars.githubusercontent.com/u/340593?v=3","gravatar_id":"","url":"https://api.github.com/users/ajax16384","html_url":"https://github.com/ajax16384","followers_url":"https://api.github.com/users/ajax16384/followers","following_url":"https://api.github.com/users/ajax16384/following{/other_user}","gists_url":"https://api.github.com/users/ajax16384/gists{/gist_id}","starred_url":"https://api.github.com/users/ajax16384/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajax16384/subscriptions","organizations_url":"https://api.github.com/users/ajax16384/orgs","repos_url":"https://api.github.com/users/ajax16384/repos","events_url":"https://api.github.com/users/ajax16384/events{/privacy}","received_events_url":"https://api.github.com/users/ajax16384/received_events","type":"User","site_admin":false},"body":"fix release build with VS2015 UP2 compiler warnings for: \r\n- address-model=64\r\n- deprecated-functions=on\r\n- link=shared","created_at":"2016-04-24T12:49:36Z","updated_at":"2016-04-24T13:32:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e3ea079b80476da484e34b94b51e69657f32dac4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/arvidn/libtorrent/pulls/640/commits","review_comments_url":"https://api.github.com/repos/arvidn/libtorrent/pulls/640/comments","review_comment_url":"https://api.github.com/repos/arvidn/libtorrent/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arvidn/libtorrent/issues/640/comments","statuses_url":"https://api.github.com/repos/arvidn/libtorrent/statuses/aae2c393223662dc73a4dee1481b761cd0a9f739","head":{"label":"ajax16384:master","ref":"master","sha":"aae2c393223662dc73a4dee1481b761cd0a9f739","user":{"login":"ajax16384","id":340593,"avatar_url":"https://avatars.githubusercontent.com/u/340593?v=3","gravatar_id":"","url":"https://api.github.com/users/ajax16384","html_url":"https://github.com/ajax16384","followers_url":"https://api.github.com/users/ajax16384/followers","following_url":"https://api.github.com/users/ajax16384/following{/other_user}","gists_url":"https://api.github.com/users/ajax16384/gists{/gist_id}","starred_url":"https://api.github.com/users/ajax16384/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajax16384/subscriptions","organizations_url":"https://api.github.com/users/ajax16384/orgs","repos_url":"https://api.github.com/users/ajax16384/repos","events_url":"https://api.github.com/users/ajax16384/events{/privacy}","received_events_url":"https://api.github.com/users/ajax16384/received_events","type":"User","site_admin":false},"repo":{"id":56388586,"name":"libtorrent","full_name":"ajax16384/libtorrent","owner":{"login":"ajax16384","id":340593,"avatar_url":"https://avatars.githubusercontent.com/u/340593?v=3","gravatar_id":"","url":"https://api.github.com/users/ajax16384","html_url":"https://github.com/ajax16384","followers_url":"https://api.github.com/users/ajax16384/followers","following_url":"https://api.github.com/users/ajax16384/following{/other_user}","gists_url":"https://api.github.com/users/ajax16384/gists{/gist_id}","starred_url":"https://api.github.com/users/ajax16384/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajax16384/subscriptions","organizations_url":"https://api.github.com/users/ajax16384/orgs","repos_url":"https://api.github.com/users/ajax16384/repos","events_url":"https://api.github.com/users/ajax16384/events{/privacy}","received_events_url":"https://api.github.com/users/ajax16384/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ajax16384/libtorrent","description":"an efficient feature complete C++ bittorrent implementation","fork":true,"url":"https://api.github.com/repos/ajax16384/libtorrent","forks_url":"https://api.github.com/repos/ajax16384/libtorrent/forks","keys_url":"https://api.github.com/repos/ajax16384/libtorrent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ajax16384/libtorrent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ajax16384/libtorrent/teams","hooks_url":"https://api.github.com/repos/ajax16384/libtorrent/hooks","issue_events_url":"https://api.github.com/repos/ajax16384/libtorrent/issues/events{/number}","events_url":"https://api.github.com/repos/ajax16384/libtorrent/events","assignees_url":"https://api.github.com/repos/ajax16384/libtorrent/assignees{/user}","branches_url":"https://api.github.com/repos/ajax16384/libtorrent/branches{/branch}","tags_url":"https://api.github.com/repos/ajax16384/libtorrent/tags","blobs_url":"https://api.github.com/repos/ajax16384/libtorrent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ajax16384/libtorrent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ajax16384/libtorrent/git/refs{/sha}","trees_url":"https://api.github.com/repos/ajax16384/libtorrent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ajax16384/libtorrent/statuses/{sha}","languages_url":"https://api.github.com/repos/ajax16384/libtorrent/languages","stargazers_url":"https://api.github.com/repos/ajax16384/libtorrent/stargazers","contributors_url":"https://api.github.com/repos/ajax16384/libtorrent/contributors","subscribers_url":"https://api.github.com/repos/ajax16384/libtorrent/subscribers","subscription_url":"https://api.github.com/repos/ajax16384/libtorrent/subscription","commits_url":"https://api.github.com/repos/ajax16384/libtorrent/commits{/sha}","git_commits_url":"https://api.github.com/repos/ajax16384/libtorrent/git/commits{/sha}","comments_url":"https://api.github.com/repos/ajax16384/libtorrent/comments{/number}","issue_comment_url":"https://api.github.com/repos/ajax16384/libtorrent/issues/comments{/number}","contents_url":"https://api.github.com/repos/ajax16384/libtorrent/contents/{+path}","compare_url":"https://api.github.com/repos/ajax16384/libtorrent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ajax16384/libtorrent/merges","archive_url":"https://api.github.com/repos/ajax16384/libtorrent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ajax16384/libtorrent/downloads","issues_url":"https://api.github.com/repos/ajax16384/libtorrent/issues{/number}","pulls_url":"https://api.github.com/repos/ajax16384/libtorrent/pulls{/number}","milestones_url":"https://api.github.com/repos/ajax16384/libtorrent/milestones{/number}","notifications_url":"https://api.github.com/repos/ajax16384/libtorrent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ajax16384/libtorrent/labels{/name}","releases_url":"https://api.github.com/repos/ajax16384/libtorrent/releases{/id}","deployments_url":"https://api.github.com/repos/ajax16384/libtorrent/deployments","created_at":"2016-04-16T14:40:08Z","updated_at":"2016-04-16T14:40:11Z","pushed_at":"2016-04-24T12:47:56Z","git_url":"git://github.com/ajax16384/libtorrent.git","ssh_url":"git@github.com:ajax16384/libtorrent.git","clone_url":"https://github.com/ajax16384/libtorrent.git","svn_url":"https://github.com/ajax16384/libtorrent","homepage":"http://libtorrent.org","size":42915,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"arvidn:master","ref":"master","sha":"c9c6dd2d3b8a32749c6850b56266c6ed186bdb96","user":{"login":"arvidn","id":661450,"avatar_url":"https://avatars.githubusercontent.com/u/661450?v=3","gravatar_id":"","url":"https://api.github.com/users/arvidn","html_url":"https://github.com/arvidn","followers_url":"https://api.github.com/users/arvidn/followers","following_url":"https://api.github.com/users/arvidn/following{/other_user}","gists_url":"https://api.github.com/users/arvidn/gists{/gist_id}","starred_url":"https://api.github.com/users/arvidn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvidn/subscriptions","organizations_url":"https://api.github.com/users/arvidn/orgs","repos_url":"https://api.github.com/users/arvidn/repos","events_url":"https://api.github.com/users/arvidn/events{/privacy}","received_events_url":"https://api.github.com/users/arvidn/received_events","type":"User","site_admin":false},"repo":{"id":36781769,"name":"libtorrent","full_name":"arvidn/libtorrent","owner":{"login":"arvidn","id":661450,"avatar_url":"https://avatars.githubusercontent.com/u/661450?v=3","gravatar_id":"","url":"https://api.github.com/users/arvidn","html_url":"https://github.com/arvidn","followers_url":"https://api.github.com/users/arvidn/followers","following_url":"https://api.github.com/users/arvidn/following{/other_user}","gists_url":"https://api.github.com/users/arvidn/gists{/gist_id}","starred_url":"https://api.github.com/users/arvidn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvidn/subscriptions","organizations_url":"https://api.github.com/users/arvidn/orgs","repos_url":"https://api.github.com/users/arvidn/repos","events_url":"https://api.github.com/users/arvidn/events{/privacy}","received_events_url":"https://api.github.com/users/arvidn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arvidn/libtorrent","description":"an efficient feature complete C++ bittorrent implementation","fork":false,"url":"https://api.github.com/repos/arvidn/libtorrent","forks_url":"https://api.github.com/repos/arvidn/libtorrent/forks","keys_url":"https://api.github.com/repos/arvidn/libtorrent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arvidn/libtorrent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arvidn/libtorrent/teams","hooks_url":"https://api.github.com/repos/arvidn/libtorrent/hooks","issue_events_url":"https://api.github.com/repos/arvidn/libtorrent/issues/events{/number}","events_url":"https://api.github.com/repos/arvidn/libtorrent/events","assignees_url":"https://api.github.com/repos/arvidn/libtorrent/assignees{/user}","branches_url":"https://api.github.com/repos/arvidn/libtorrent/branches{/branch}","tags_url":"https://api.github.com/repos/arvidn/libtorrent/tags","blobs_url":"https://api.github.com/repos/arvidn/libtorrent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arvidn/libtorrent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arvidn/libtorrent/git/refs{/sha}","trees_url":"https://api.github.com/repos/arvidn/libtorrent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arvidn/libtorrent/statuses/{sha}","languages_url":"https://api.github.com/repos/arvidn/libtorrent/languages","stargazers_url":"https://api.github.com/repos/arvidn/libtorrent/stargazers","contributors_url":"https://api.github.com/repos/arvidn/libtorrent/contributors","subscribers_url":"https://api.github.com/repos/arvidn/libtorrent/subscribers","subscription_url":"https://api.github.com/repos/arvidn/libtorrent/subscription","commits_url":"https://api.github.com/repos/arvidn/libtorrent/commits{/sha}","git_commits_url":"https://api.github.com/repos/arvidn/libtorrent/git/commits{/sha}","comments_url":"https://api.github.com/repos/arvidn/libtorrent/comments{/number}","issue_comment_url":"https://api.github.com/repos/arvidn/libtorrent/issues/comments{/number}","contents_url":"https://api.github.com/repos/arvidn/libtorrent/contents/{+path}","compare_url":"https://api.github.com/repos/arvidn/libtorrent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arvidn/libtorrent/merges","archive_url":"https://api.github.com/repos/arvidn/libtorrent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arvidn/libtorrent/downloads","issues_url":"https://api.github.com/repos/arvidn/libtorrent/issues{/number}","pulls_url":"https://api.github.com/repos/arvidn/libtorrent/pulls{/number}","milestones_url":"https://api.github.com/repos/arvidn/libtorrent/milestones{/number}","notifications_url":"https://api.github.com/repos/arvidn/libtorrent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arvidn/libtorrent/labels{/name}","releases_url":"https://api.github.com/repos/arvidn/libtorrent/releases{/id}","deployments_url":"https://api.github.com/repos/arvidn/libtorrent/deployments","created_at":"2015-06-03T05:22:03Z","updated_at":"2016-04-22T11:21:15Z","pushed_at":"2016-04-24T13:20:16Z","git_url":"git://github.com/arvidn/libtorrent.git","ssh_url":"git@github.com:arvidn/libtorrent.git","clone_url":"https://github.com/arvidn/libtorrent.git","svn_url":"https://github.com/arvidn/libtorrent","homepage":"http://libtorrent.org","size":67679,"stargazers_count":374,"watchers_count":374,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":118,"mirror_url":null,"open_issues_count":57,"forks":118,"open_issues":57,"watchers":374,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arvidn/libtorrent/pulls/640"},"html":{"href":"https://github.com/arvidn/libtorrent/pull/640"},"issue":{"href":"https://api.github.com/repos/arvidn/libtorrent/issues/640"},"comments":{"href":"https://api.github.com/repos/arvidn/libtorrent/issues/640/comments"},"review_comments":{"href":"https://api.github.com/repos/arvidn/libtorrent/pulls/640/comments"},"review_comment":{"href":"https://api.github.com/repos/arvidn/libtorrent/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arvidn/libtorrent/pulls/640/commits"},"statuses":{"href":"https://api.github.com/repos/arvidn/libtorrent/statuses/aae2c393223662dc73a4dee1481b761cd0a9f739"}}}}