{"action":"created","issue":{"url":"https://api.github.com/repos/danfuzz/samizdat/issues/772","labels_url":"https://api.github.com/repos/danfuzz/samizdat/issues/772/labels{/name}","comments_url":"https://api.github.com/repos/danfuzz/samizdat/issues/772/comments","events_url":"https://api.github.com/repos/danfuzz/samizdat/issues/772/events","html_url":"https://github.com/danfuzz/samizdat/issues/772","id":53156578,"number":772,"title":"`zint` is not necessarily a `long long int` as far as `printf` is concerned.","user":{"login":"danfuzz","id":1090235,"avatar_url":"https://avatars.githubusercontent.com/u/1090235?v=3","gravatar_id":"","url":"https://api.github.com/users/danfuzz","html_url":"https://github.com/danfuzz","followers_url":"https://api.github.com/users/danfuzz/followers","following_url":"https://api.github.com/users/danfuzz/following{/other_user}","gists_url":"https://api.github.com/users/danfuzz/gists{/gist_id}","starred_url":"https://api.github.com/users/danfuzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danfuzz/subscriptions","organizations_url":"https://api.github.com/users/danfuzz/orgs","repos_url":"https://api.github.com/users/danfuzz/repos","events_url":"https://api.github.com/users/danfuzz/events{/privacy}","received_events_url":"https://api.github.com/users/danfuzz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/danfuzz/samizdat/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/danfuzz/samizdat/milestones/2","labels_url":"https://api.github.com/repos/danfuzz/samizdat/milestones/2/labels","id":314269,"number":2,"title":"samizdat-0 (C version) complete","description":"","creator":{"login":"danfuzz","id":1090235,"avatar_url":"https://avatars.githubusercontent.com/u/1090235?v=3","gravatar_id":"","url":"https://api.github.com/users/danfuzz","html_url":"https://github.com/danfuzz","followers_url":"https://api.github.com/users/danfuzz/followers","following_url":"https://api.github.com/users/danfuzz/following{/other_user}","gists_url":"https://api.github.com/users/danfuzz/gists{/gist_id}","starred_url":"https://api.github.com/users/danfuzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danfuzz/subscriptions","organizations_url":"https://api.github.com/users/danfuzz/orgs","repos_url":"https://api.github.com/users/danfuzz/repos","events_url":"https://api.github.com/users/danfuzz/events{/privacy}","received_events_url":"https://api.github.com/users/danfuzz/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":50,"state":"open","created_at":"2013-04-18T03:45:43Z","updated_at":"2015-01-05T20:10:25Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2014-12-30T23:35:41Z","updated_at":"2015-01-06T19:03:52Z","closed_at":null,"body":"It looks like on 64-bit Linux `int64_t` is an alias for `long int` and not `long long int`, and so, `printf(\"%lld\", (zint) x)` causes trouble.\r\n\r\nC99 defines a bunch of macro strings such as `PRId64` to \"interpolate\" into format strings, but this leads to pretty darn hideous-looking code. Given that the actual set of `%` directives I need is fairly limited, I'm inclined to just build an alternative to `*printf` which takes sensible-looking directives."},"comment":{"url":"https://api.github.com/repos/danfuzz/samizdat/issues/comments/68914530","html_url":"https://github.com/danfuzz/samizdat/issues/772#issuecomment-68914530","issue_url":"https://api.github.com/repos/danfuzz/samizdat/issues/772","id":68914530,"user":{"login":"danfuzz","id":1090235,"avatar_url":"https://avatars.githubusercontent.com/u/1090235?v=3","gravatar_id":"","url":"https://api.github.com/users/danfuzz","html_url":"https://github.com/danfuzz","followers_url":"https://api.github.com/users/danfuzz/followers","following_url":"https://api.github.com/users/danfuzz/following{/other_user}","gists_url":"https://api.github.com/users/danfuzz/gists{/gist_id}","starred_url":"https://api.github.com/users/danfuzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danfuzz/subscriptions","organizations_url":"https://api.github.com/users/danfuzz/orgs","repos_url":"https://api.github.com/users/danfuzz/repos","events_url":"https://api.github.com/users/danfuzz/events{/privacy}","received_events_url":"https://api.github.com/users/danfuzz/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T19:03:52Z","updated_at":"2015-01-06T19:03:52Z","body":"List of format directives currently used:\r\n\r\n```\r\n%s\r\n%p\r\n%g\r\n%d\r\n%ld\r\n%lld\r\n%lu\r\n%#llx\r\n%#02x\r\n%#04x\r\n```"}}