{"action":"closed","issue":{"number":89,"created_at":"2011-08-27T11:03:46Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"GIven:\r\n\r\n```\r\nint16 foo() {\r\n    int16 v = 0;\r\n    return v;\r\n}\r\n```\r\n\r\nispc emits the warning:\r\n\r\n```\r\ns.ispc:3:15: Warning: Conversion from type \"const uniform int32\" to type \"int16\" for initializer \r\n        may lose information. \r\n    int16 v = 0;\r\n              ^\r\n```\r\n\r\nIn this case, it should, of course, only issue a warning if the constant value is too big to fit into the variable.\r\n","comments":0,"title":"Silly warning is issued with 8/16-bit constants","updated_at":"2011-10-17T10:38:33Z","url":"https://api.github.com/repos/ispc/ispc/issues/89","id":1500290,"assignee":null,"milestone":null,"closed_at":"2011-10-17T10:38:33Z","user":{"gravatar_id":"a56bb3ad4d8777f42df61738f528c05b","avatar_url":"https://secure.gravatar.com/avatar/a56bb3ad4d8777f42df61738f528c05b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/mmp","id":102567,"login":"mmp"},"html_url":"https://github.com/ispc/ispc/issues/89","labels":[],"state":"closed"},"legacy":{"number":89,"action":"closed","issue":1500290}}