{"action":"reopened","issue":{"url":"https://api.github.com/repos/01org/tinycbor/issues/45","repository_url":"https://api.github.com/repos/01org/tinycbor","labels_url":"https://api.github.com/repos/01org/tinycbor/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/01org/tinycbor/issues/45/comments","events_url":"https://api.github.com/repos/01org/tinycbor/issues/45/events","html_url":"https://github.com/01org/tinycbor/issues/45","id":181546486,"number":45,"title":"C4244 warnings when building in Visual Studio","user":{"login":"alradmsft","id":14203413,"avatar_url":"https://avatars.githubusercontent.com/u/14203413?v=3","gravatar_id":"","url":"https://api.github.com/users/alradmsft","html_url":"https://github.com/alradmsft","followers_url":"https://api.github.com/users/alradmsft/followers","following_url":"https://api.github.com/users/alradmsft/following{/other_user}","gists_url":"https://api.github.com/users/alradmsft/gists{/gist_id}","starred_url":"https://api.github.com/users/alradmsft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alradmsft/subscriptions","organizations_url":"https://api.github.com/users/alradmsft/orgs","repos_url":"https://api.github.com/users/alradmsft/repos","events_url":"https://api.github.com/users/alradmsft/events{/privacy}","received_events_url":"https://api.github.com/users/alradmsft/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"thiagomacieira","id":4109772,"avatar_url":"https://avatars.githubusercontent.com/u/4109772?v=3","gravatar_id":"","url":"https://api.github.com/users/thiagomacieira","html_url":"https://github.com/thiagomacieira","followers_url":"https://api.github.com/users/thiagomacieira/followers","following_url":"https://api.github.com/users/thiagomacieira/following{/other_user}","gists_url":"https://api.github.com/users/thiagomacieira/gists{/gist_id}","starred_url":"https://api.github.com/users/thiagomacieira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thiagomacieira/subscriptions","organizations_url":"https://api.github.com/users/thiagomacieira/orgs","repos_url":"https://api.github.com/users/thiagomacieira/repos","events_url":"https://api.github.com/users/thiagomacieira/events{/privacy}","received_events_url":"https://api.github.com/users/thiagomacieira/received_events","type":"User","site_admin":false},"assignees":[{"login":"thiagomacieira","id":4109772,"avatar_url":"https://avatars.githubusercontent.com/u/4109772?v=3","gravatar_id":"","url":"https://api.github.com/users/thiagomacieira","html_url":"https://github.com/thiagomacieira","followers_url":"https://api.github.com/users/thiagomacieira/followers","following_url":"https://api.github.com/users/thiagomacieira/following{/other_user}","gists_url":"https://api.github.com/users/thiagomacieira/gists{/gist_id}","starred_url":"https://api.github.com/users/thiagomacieira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thiagomacieira/subscriptions","organizations_url":"https://api.github.com/users/thiagomacieira/orgs","repos_url":"https://api.github.com/users/thiagomacieira/repos","events_url":"https://api.github.com/users/thiagomacieira/events{/privacy}","received_events_url":"https://api.github.com/users/thiagomacieira/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2016-10-06T23:01:27Z","updated_at":"2016-10-12T07:31:17Z","closed_at":null,"body":"Hello,\r\n\r\nI'm building the lib in Visual Studio with /W4 switch. I'm getting the warnings below. I understand that in your code you do have checks for data loss during those conversions; however, I have to have code building clean in my environment. I can put together a change to disable the warning in those specific places. Please let me know if that's OK.  \r\n\r\nX64:\r\ncborparser.c(802): warning C4244: '=': conversion from 'uint64_t' to 'int', possible loss of data\r\ncborparser.c(808): warning C4244: '=': conversion from 'uint64_t' to 'int', possible loss of data\r\n\r\nX86:\r\n\r\ncbor.h(166): warning C4201: nonstandard extension used: nameless struct/union\r\ncbor.h(364): warning C4244: '=': conversion from 'uint64_t' to 'std::size_t', possible loss of data\r\ncbor.h(419): warning C4244: '=': conversion from 'uint64_t' to 'std::size_t', possible loss of data\r\ncbor.h(431): warning C4244: '=': conversion from 'uint64_t' to 'std::size_t', possible loss of data\r\n\r\n\r\n"}}
{"actor":{"display_login":"thiagomacieira"}}