{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/2968","repository_url":"https://api.github.com/repos/dotnet/coreclr","labels_url":"https://api.github.com/repos/dotnet/coreclr/issues/2968/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/coreclr/issues/2968/comments","events_url":"https://api.github.com/repos/dotnet/coreclr/issues/2968/events","html_url":"https://github.com/dotnet/coreclr/issues/2968","id":130528343,"number":2968,"title":"implicit conversion from                  'int' to 'short' changes value from 65535 to -1","user":{"login":"krytarowski","id":6665730,"avatar_url":"https://avatars.githubusercontent.com/u/6665730?v=3","gravatar_id":"","url":"https://api.github.com/users/krytarowski","html_url":"https://github.com/krytarowski","followers_url":"https://api.github.com/users/krytarowski/followers","following_url":"https://api.github.com/users/krytarowski/following{/other_user}","gists_url":"https://api.github.com/users/krytarowski/gists{/gist_id}","starred_url":"https://api.github.com/users/krytarowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krytarowski/subscriptions","organizations_url":"https://api.github.com/users/krytarowski/orgs","repos_url":"https://api.github.com/users/krytarowski/repos","events_url":"https://api.github.com/users/krytarowski/events{/privacy}","received_events_url":"https://api.github.com/users/krytarowski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-02-02T00:27:26Z","updated_at":"2016-02-03T10:06:34Z","closed_at":null,"body":"How would you fix it:\r\n\r\n```\r\n/tmp/pkgsrc-tmp/wip/coreclr-git/work/coreclr/src/pal/tests/palsuite/c_runtime/sscanf/test4/test4.c:32:33: error: implicit conversion from \r\n                'int' to 'short' changes value from 65535 to -1 [-Werror,-Wconstant-conversion] DoShortNumTest(\"-1\", \"%hd\", 65535); ~~~~~~~~~~~~~~           \r\n                ^~~~~\r\n```\r\n\r\n```\r\n$ uname -a\r\nNetBSD chieftec 7.99.25 NetBSD 7.99.25 (GENERIC) #0: Fri Dec 25 20:51:06 UTC 2015  root@chieftec:/tmp/netbsd-tmp/sys/arch/amd64/compile/GENERIC amd64\r\n```\r\n\r\n```\r\n$ clang --version\r\nclang version 3.9.0 \r\nTarget: x86_64-unknown-netbsd7.99.25\r\nThread model: posix\r\nInstalledDir: /usr/pkg/bin\r\n```"},"comment":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/comments/179141561","html_url":"https://github.com/dotnet/coreclr/issues/2968#issuecomment-179141561","issue_url":"https://api.github.com/repos/dotnet/coreclr/issues/2968","id":179141561,"user":{"login":"krytarowski","id":6665730,"avatar_url":"https://avatars.githubusercontent.com/u/6665730?v=3","gravatar_id":"","url":"https://api.github.com/users/krytarowski","html_url":"https://github.com/krytarowski","followers_url":"https://api.github.com/users/krytarowski/followers","following_url":"https://api.github.com/users/krytarowski/following{/other_user}","gists_url":"https://api.github.com/users/krytarowski/gists{/gist_id}","starred_url":"https://api.github.com/users/krytarowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krytarowski/subscriptions","organizations_url":"https://api.github.com/users/krytarowski/orgs","repos_url":"https://api.github.com/users/krytarowski/repos","events_url":"https://api.github.com/users/krytarowski/events{/privacy}","received_events_url":"https://api.github.com/users/krytarowski/received_events","type":"User","site_admin":false},"created_at":"2016-02-03T10:06:34Z","updated_at":"2016-02-03T10:06:34Z","body":"@jkotas ?"}}