{"action":"created","issue":{"url":"https://api.github.com/repos/NikolaiRuhe/SwiftDigest/issues/1","repository_url":"https://api.github.com/repos/NikolaiRuhe/SwiftDigest","labels_url":"https://api.github.com/repos/NikolaiRuhe/SwiftDigest/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/NikolaiRuhe/SwiftDigest/issues/1/comments","events_url":"https://api.github.com/repos/NikolaiRuhe/SwiftDigest/issues/1/events","html_url":"https://github.com/NikolaiRuhe/SwiftDigest/issues/1","id":298398399,"number":1,"title":"Workaround for stupid Xcode 9.2 hard errors?","user":{"login":"dhoerlSA","id":30641463,"avatar_url":"https://avatars3.githubusercontent.com/u/30641463?v=4","gravatar_id":"","url":"https://api.github.com/users/dhoerlSA","html_url":"https://github.com/dhoerlSA","followers_url":"https://api.github.com/users/dhoerlSA/followers","following_url":"https://api.github.com/users/dhoerlSA/following{/other_user}","gists_url":"https://api.github.com/users/dhoerlSA/gists{/gist_id}","starred_url":"https://api.github.com/users/dhoerlSA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhoerlSA/subscriptions","organizations_url":"https://api.github.com/users/dhoerlSA/orgs","repos_url":"https://api.github.com/users/dhoerlSA/repos","events_url":"https://api.github.com/users/dhoerlSA/events{/privacy}","received_events_url":"https://api.github.com/users/dhoerlSA/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-19T20:53:46Z","updated_at":"2018-03-20T06:54:30Z","closed_at":null,"author_association":"NONE","body":"In MD5Digest, Xcode 9.2 is flagging these two lines as exceeding the size of a UInt32, which is of course totally wrong:\r\n\r\n    var b = UInt32(0xefcdab89)\r\n    var c = UInt32(0x98badcfe)\r\n\r\nWell, I found a workaround (untested at this point):\r\n\r\n    var b = UInt32(0x70000000) + UInt32(0x7fcdab89) // 0xefcdab89\r\n    var c = UInt32(0x40000000) + UInt32(0x58badcfe) // 0x98badcfe\r\n\r\nGeez ... [Post is really to help out any other poor soul running into this issue...]\r\n"},"comment":{"url":"https://api.github.com/repos/NikolaiRuhe/SwiftDigest/issues/comments/374494594","html_url":"https://github.com/NikolaiRuhe/SwiftDigest/issues/1#issuecomment-374494594","issue_url":"https://api.github.com/repos/NikolaiRuhe/SwiftDigest/issues/1","id":374494594,"user":{"login":"gaoshanyu","id":10546774,"avatar_url":"https://avatars2.githubusercontent.com/u/10546774?v=4","gravatar_id":"","url":"https://api.github.com/users/gaoshanyu","html_url":"https://github.com/gaoshanyu","followers_url":"https://api.github.com/users/gaoshanyu/followers","following_url":"https://api.github.com/users/gaoshanyu/following{/other_user}","gists_url":"https://api.github.com/users/gaoshanyu/gists{/gist_id}","starred_url":"https://api.github.com/users/gaoshanyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaoshanyu/subscriptions","organizations_url":"https://api.github.com/users/gaoshanyu/orgs","repos_url":"https://api.github.com/users/gaoshanyu/repos","events_url":"https://api.github.com/users/gaoshanyu/events{/privacy}","received_events_url":"https://api.github.com/users/gaoshanyu/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T06:54:30Z","updated_at":"2018-03-20T06:54:30Z","author_association":"NONE","body":"hi man, you just need change \r\n```\r\n    var a = UInt32(0x67452301)\r\n    var b = UInt32(0xefcdab89)\r\n    var c = UInt32(0x98badcfe)\r\n    var d = UInt32(0x10325476)\r\n```\r\nto\r\n\r\n```\r\n    var a: UInt32 = 0x67452301\r\n    var b: UInt32 = 0xefcdab89\r\n    var c: UInt32 = 0x98badcfe\r\n    var d: UInt32 = 0x10325476\r\n```\r\n\r\nall errors should go away."}}
{"actor":{"display_login":"gaoshanyu"}}