{"action":"created","issue":{"url":"https://api.github.com/repos/KindDragon/CPPDebuggerVisualizers/issues/16","repository_url":"https://api.github.com/repos/KindDragon/CPPDebuggerVisualizers","labels_url":"https://api.github.com/repos/KindDragon/CPPDebuggerVisualizers/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/KindDragon/CPPDebuggerVisualizers/issues/16/comments","events_url":"https://api.github.com/repos/KindDragon/CPPDebuggerVisualizers/issues/16/events","html_url":"https://github.com/KindDragon/CPPDebuggerVisualizers/issues/16","id":310519711,"number":16,"title":"time duration calculation overflows and shows wrong value","user":{"login":"aligature","id":758347,"avatar_url":"https://avatars3.githubusercontent.com/u/758347?v=4","gravatar_id":"","url":"https://api.github.com/users/aligature","html_url":"https://github.com/aligature","followers_url":"https://api.github.com/users/aligature/followers","following_url":"https://api.github.com/users/aligature/following{/other_user}","gists_url":"https://api.github.com/users/aligature/gists{/gist_id}","starred_url":"https://api.github.com/users/aligature/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aligature/subscriptions","organizations_url":"https://api.github.com/users/aligature/orgs","repos_url":"https://api.github.com/users/aligature/repos","events_url":"https://api.github.com/users/aligature/events{/privacy}","received_events_url":"https://api.github.com/users/aligature/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-02T15:42:07Z","updated_at":"2018-04-02T15:42:56Z","closed_at":null,"author_association":"NONE","body":"If you construct a time duration of 24 hours, it shows \"172d 00:04:47 0ms 0us\" as the value in the debugger. This is consistent with the \"86400*$T2\" portion of the day intrinsic overflowing 32-bits when $T2 evaluates to 1000000. I'm in a Win32 project with Visual Studio 2017 (15.6.4)."},"comment":{"url":"https://api.github.com/repos/KindDragon/CPPDebuggerVisualizers/issues/comments/377959075","html_url":"https://github.com/KindDragon/CPPDebuggerVisualizers/issues/16#issuecomment-377959075","issue_url":"https://api.github.com/repos/KindDragon/CPPDebuggerVisualizers/issues/16","id":377959075,"user":{"login":"aligature","id":758347,"avatar_url":"https://avatars3.githubusercontent.com/u/758347?v=4","gravatar_id":"","url":"https://api.github.com/users/aligature","html_url":"https://github.com/aligature","followers_url":"https://api.github.com/users/aligature/followers","following_url":"https://api.github.com/users/aligature/following{/other_user}","gists_url":"https://api.github.com/users/aligature/gists{/gist_id}","starred_url":"https://api.github.com/users/aligature/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aligature/subscriptions","organizations_url":"https://api.github.com/users/aligature/orgs","repos_url":"https://api.github.com/users/aligature/repos","events_url":"https://api.github.com/users/aligature/events{/privacy}","received_events_url":"https://api.github.com/users/aligature/received_events","type":"User","site_admin":false},"created_at":"2018-04-02T15:42:56Z","updated_at":"2018-04-02T15:42:56Z","author_association":"NONE","body":"I've tested using 64-bit (long long) literals in the calculation and it fixes the issue. I'll submit a pull request."}}
{"actor":{"display_login":"aligature"}}