{"action":"closed","number":78,"pull_request":{"url":"https://api.github.com/repos/nmoinvaz/minizip/pulls/78","id":92559644,"html_url":"https://github.com/nmoinvaz/minizip/pull/78","diff_url":"https://github.com/nmoinvaz/minizip/pull/78.diff","patch_url":"https://github.com/nmoinvaz/minizip/pull/78.patch","issue_url":"https://api.github.com/repos/nmoinvaz/minizip/issues/78","number":78,"state":"closed","locked":false,"title":"Fix error C2664 on MSVC 2015","user":{"login":"inequation","id":320285,"avatar_url":"https://avatars.githubusercontent.com/u/320285?v=3","gravatar_id":"","url":"https://api.github.com/users/inequation","html_url":"https://github.com/inequation","followers_url":"https://api.github.com/users/inequation/followers","following_url":"https://api.github.com/users/inequation/following{/other_user}","gists_url":"https://api.github.com/users/inequation/gists{/gist_id}","starred_url":"https://api.github.com/users/inequation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inequation/subscriptions","organizations_url":"https://api.github.com/users/inequation/orgs","repos_url":"https://api.github.com/users/inequation/repos","events_url":"https://api.github.com/users/inequation/events{/privacy}","received_events_url":"https://api.github.com/users/inequation/received_events","type":"User","site_admin":false},"body":"I'm compiling minizip in my project by #including its source code inline (namely, `unzip.c` and `ioapi.c`) in MSVC 2015. I'll let the compiler speak for itself:\r\n```\r\nioapi.c(201): error C2664: 'char *strncpy(char *,const char *,std::size_t)': cannot convert argument 2 from 'void *' to 'const char *'\r\nioapi.c(201): note: Conversion from 'void*' to pointer to non-'void' requires an explicit cast\r\n```\r\nThere are two more in the same vein. This PR is a trivial fix for these errors.","created_at":"2016-11-07T10:43:29Z","updated_at":"2016-11-14T21:08:18Z","closed_at":"2016-11-14T21:08:18Z","merged_at":"2016-11-14T21:08:18Z","merge_commit_sha":"7b8e226c491a77360dbbc71c2429470924555a9e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/nmoinvaz/minizip/pulls/78/commits","review_comments_url":"https://api.github.com/repos/nmoinvaz/minizip/pulls/78/comments","review_comment_url":"https://api.github.com/repos/nmoinvaz/minizip/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nmoinvaz/minizip/issues/78/comments","statuses_url":"https://api.github.com/repos/nmoinvaz/minizip/statuses/53bbf0fe79d6ce83c28809fbc81952fe45dc886c","head":{"label":"inequation:master","ref":"master","sha":"53bbf0fe79d6ce83c28809fbc81952fe45dc886c","user":{"login":"inequation","id":320285,"avatar_url":"https://avatars.githubusercontent.com/u/320285?v=3","gravatar_id":"","url":"https://api.github.com/users/inequation","html_url":"https://github.com/inequation","followers_url":"https://api.github.com/users/inequation/followers","following_url":"https://api.github.com/users/inequation/following{/other_user}","gists_url":"https://api.github.com/users/inequation/gists{/gist_id}","starred_url":"https://api.github.com/users/inequation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inequation/subscriptions","organizations_url":"https://api.github.com/users/inequation/orgs","repos_url":"https://api.github.com/users/inequation/repos","events_url":"https://api.github.com/users/inequation/events{/privacy}","received_events_url":"https://api.github.com/users/inequation/received_events","type":"User","site_admin":false},"repo":{"id":73066652,"name":"minizip","full_name":"inequation/minizip","owner":{"login":"inequation","id":320285,"avatar_url":"https://avatars.githubusercontent.com/u/320285?v=3","gravatar_id":"","url":"https://api.github.com/users/inequation","html_url":"https://github.com/inequation","followers_url":"https://api.github.com/users/inequation/followers","following_url":"https://api.github.com/users/inequation/following{/other_user}","gists_url":"https://api.github.com/users/inequation/gists{/gist_id}","starred_url":"https://api.github.com/users/inequation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inequation/subscriptions","organizations_url":"https://api.github.com/users/inequation/orgs","repos_url":"https://api.github.com/users/inequation/repos","events_url":"https://api.github.com/users/inequation/events{/privacy}","received_events_url":"https://api.github.com/users/inequation/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/inequation/minizip","description":"Minizip contrib in zlib with latest bug fixes that supports PKWARE disk spanning, AES encryption, and IO buffering","fork":true,"url":"https://api.github.com/repos/inequation/minizip","forks_url":"https://api.github.com/repos/inequation/minizip/forks","keys_url":"https://api.github.com/repos/inequation/minizip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inequation/minizip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inequation/minizip/teams","hooks_url":"https://api.github.com/repos/inequation/minizip/hooks","issue_events_url":"https://api.github.com/repos/inequation/minizip/issues/events{/number}","events_url":"https://api.github.com/repos/inequation/minizip/events","assignees_url":"https://api.github.com/repos/inequation/minizip/assignees{/user}","branches_url":"https://api.github.com/repos/inequation/minizip/branches{/branch}","tags_url":"https://api.github.com/repos/inequation/minizip/tags","blobs_url":"https://api.github.com/repos/inequation/minizip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inequation/minizip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inequation/minizip/git/refs{/sha}","trees_url":"https://api.github.com/repos/inequation/minizip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inequation/minizip/statuses/{sha}","languages_url":"https://api.github.com/repos/inequation/minizip/languages","stargazers_url":"https://api.github.com/repos/inequation/minizip/stargazers","contributors_url":"https://api.github.com/repos/inequation/minizip/contributors","subscribers_url":"https://api.github.com/repos/inequation/minizip/subscribers","subscription_url":"https://api.github.com/repos/inequation/minizip/subscription","commits_url":"https://api.github.com/repos/inequation/minizip/commits{/sha}","git_commits_url":"https://api.github.com/repos/inequation/minizip/git/commits{/sha}","comments_url":"https://api.github.com/repos/inequation/minizip/comments{/number}","issue_comment_url":"https://api.github.com/repos/inequation/minizip/issues/comments{/number}","contents_url":"https://api.github.com/repos/inequation/minizip/contents/{+path}","compare_url":"https://api.github.com/repos/inequation/minizip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inequation/minizip/merges","archive_url":"https://api.github.com/repos/inequation/minizip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inequation/minizip/downloads","issues_url":"https://api.github.com/repos/inequation/minizip/issues{/number}","pulls_url":"https://api.github.com/repos/inequation/minizip/pulls{/number}","milestones_url":"https://api.github.com/repos/inequation/minizip/milestones{/number}","notifications_url":"https://api.github.com/repos/inequation/minizip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inequation/minizip/labels{/name}","releases_url":"https://api.github.com/repos/inequation/minizip/releases{/id}","deployments_url":"https://api.github.com/repos/inequation/minizip/deployments","created_at":"2016-11-07T10:18:26Z","updated_at":"2016-11-07T10:18:27Z","pushed_at":"2016-11-07T10:26:25Z","git_url":"git://github.com/inequation/minizip.git","ssh_url":"git@github.com:inequation/minizip.git","clone_url":"https://github.com/inequation/minizip.git","svn_url":"https://github.com/inequation/minizip","homepage":"http://www.winimage.com/zLibDll/minizip.html","size":887,"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":"nmoinvaz:master","ref":"master","sha":"2e6177226239ac68f3c49cd439a1e8dc29c2f380","user":{"login":"nmoinvaz","id":1364432,"avatar_url":"https://avatars.githubusercontent.com/u/1364432?v=3","gravatar_id":"","url":"https://api.github.com/users/nmoinvaz","html_url":"https://github.com/nmoinvaz","followers_url":"https://api.github.com/users/nmoinvaz/followers","following_url":"https://api.github.com/users/nmoinvaz/following{/other_user}","gists_url":"https://api.github.com/users/nmoinvaz/gists{/gist_id}","starred_url":"https://api.github.com/users/nmoinvaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmoinvaz/subscriptions","organizations_url":"https://api.github.com/users/nmoinvaz/orgs","repos_url":"https://api.github.com/users/nmoinvaz/repos","events_url":"https://api.github.com/users/nmoinvaz/events{/privacy}","received_events_url":"https://api.github.com/users/nmoinvaz/received_events","type":"User","site_admin":false},"repo":{"id":3235524,"name":"minizip","full_name":"nmoinvaz/minizip","owner":{"login":"nmoinvaz","id":1364432,"avatar_url":"https://avatars.githubusercontent.com/u/1364432?v=3","gravatar_id":"","url":"https://api.github.com/users/nmoinvaz","html_url":"https://github.com/nmoinvaz","followers_url":"https://api.github.com/users/nmoinvaz/followers","following_url":"https://api.github.com/users/nmoinvaz/following{/other_user}","gists_url":"https://api.github.com/users/nmoinvaz/gists{/gist_id}","starred_url":"https://api.github.com/users/nmoinvaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmoinvaz/subscriptions","organizations_url":"https://api.github.com/users/nmoinvaz/orgs","repos_url":"https://api.github.com/users/nmoinvaz/repos","events_url":"https://api.github.com/users/nmoinvaz/events{/privacy}","received_events_url":"https://api.github.com/users/nmoinvaz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nmoinvaz/minizip","description":"Minizip contrib in zlib with latest bug fixes that supports PKWARE disk spanning, AES encryption, and IO buffering","fork":false,"url":"https://api.github.com/repos/nmoinvaz/minizip","forks_url":"https://api.github.com/repos/nmoinvaz/minizip/forks","keys_url":"https://api.github.com/repos/nmoinvaz/minizip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nmoinvaz/minizip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nmoinvaz/minizip/teams","hooks_url":"https://api.github.com/repos/nmoinvaz/minizip/hooks","issue_events_url":"https://api.github.com/repos/nmoinvaz/minizip/issues/events{/number}","events_url":"https://api.github.com/repos/nmoinvaz/minizip/events","assignees_url":"https://api.github.com/repos/nmoinvaz/minizip/assignees{/user}","branches_url":"https://api.github.com/repos/nmoinvaz/minizip/branches{/branch}","tags_url":"https://api.github.com/repos/nmoinvaz/minizip/tags","blobs_url":"https://api.github.com/repos/nmoinvaz/minizip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nmoinvaz/minizip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nmoinvaz/minizip/git/refs{/sha}","trees_url":"https://api.github.com/repos/nmoinvaz/minizip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nmoinvaz/minizip/statuses/{sha}","languages_url":"https://api.github.com/repos/nmoinvaz/minizip/languages","stargazers_url":"https://api.github.com/repos/nmoinvaz/minizip/stargazers","contributors_url":"https://api.github.com/repos/nmoinvaz/minizip/contributors","subscribers_url":"https://api.github.com/repos/nmoinvaz/minizip/subscribers","subscription_url":"https://api.github.com/repos/nmoinvaz/minizip/subscription","commits_url":"https://api.github.com/repos/nmoinvaz/minizip/commits{/sha}","git_commits_url":"https://api.github.com/repos/nmoinvaz/minizip/git/commits{/sha}","comments_url":"https://api.github.com/repos/nmoinvaz/minizip/comments{/number}","issue_comment_url":"https://api.github.com/repos/nmoinvaz/minizip/issues/comments{/number}","contents_url":"https://api.github.com/repos/nmoinvaz/minizip/contents/{+path}","compare_url":"https://api.github.com/repos/nmoinvaz/minizip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nmoinvaz/minizip/merges","archive_url":"https://api.github.com/repos/nmoinvaz/minizip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nmoinvaz/minizip/downloads","issues_url":"https://api.github.com/repos/nmoinvaz/minizip/issues{/number}","pulls_url":"https://api.github.com/repos/nmoinvaz/minizip/pulls{/number}","milestones_url":"https://api.github.com/repos/nmoinvaz/minizip/milestones{/number}","notifications_url":"https://api.github.com/repos/nmoinvaz/minizip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nmoinvaz/minizip/labels{/name}","releases_url":"https://api.github.com/repos/nmoinvaz/minizip/releases{/id}","deployments_url":"https://api.github.com/repos/nmoinvaz/minizip/deployments","created_at":"2012-01-21T19:17:23Z","updated_at":"2016-11-11T21:38:34Z","pushed_at":"2016-11-14T21:08:18Z","git_url":"git://github.com/nmoinvaz/minizip.git","ssh_url":"git@github.com:nmoinvaz/minizip.git","clone_url":"https://github.com/nmoinvaz/minizip.git","svn_url":"https://github.com/nmoinvaz/minizip","homepage":"http://www.winimage.com/zLibDll/minizip.html","size":1096,"stargazers_count":175,"watchers_count":175,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":89,"mirror_url":null,"open_issues_count":9,"forks":89,"open_issues":9,"watchers":175,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nmoinvaz/minizip/pulls/78"},"html":{"href":"https://github.com/nmoinvaz/minizip/pull/78"},"issue":{"href":"https://api.github.com/repos/nmoinvaz/minizip/issues/78"},"comments":{"href":"https://api.github.com/repos/nmoinvaz/minizip/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/nmoinvaz/minizip/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/nmoinvaz/minizip/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nmoinvaz/minizip/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/nmoinvaz/minizip/statuses/53bbf0fe79d6ce83c28809fbc81952fe45dc886c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"nmoinvaz","id":1364432,"avatar_url":"https://avatars.githubusercontent.com/u/1364432?v=3","gravatar_id":"","url":"https://api.github.com/users/nmoinvaz","html_url":"https://github.com/nmoinvaz","followers_url":"https://api.github.com/users/nmoinvaz/followers","following_url":"https://api.github.com/users/nmoinvaz/following{/other_user}","gists_url":"https://api.github.com/users/nmoinvaz/gists{/gist_id}","starred_url":"https://api.github.com/users/nmoinvaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmoinvaz/subscriptions","organizations_url":"https://api.github.com/users/nmoinvaz/orgs","repos_url":"https://api.github.com/users/nmoinvaz/repos","events_url":"https://api.github.com/users/nmoinvaz/events{/privacy}","received_events_url":"https://api.github.com/users/nmoinvaz/received_events","type":"User","site_admin":false},"comments":6,"review_comments":0,"commits":1,"additions":3,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"nmoinvaz"}}