{"action":"created","issue":{"url":"https://api.github.com/repos/codahale/metrics/issues/11","labels_url":"https://api.github.com/repos/codahale/metrics/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/codahale/metrics/issues/11/comments","events_url":"https://api.github.com/repos/codahale/metrics/issues/11/events","html_url":"https://github.com/codahale/metrics/pull/11","id":73621664,"number":11,"title":"freebsd: convert rlimit.Cur to uint64","user":{"login":"cryptix","id":111202,"avatar_url":"https://avatars.githubusercontent.com/u/111202?v=3","gravatar_id":"","url":"https://api.github.com/users/cryptix","html_url":"https://github.com/cryptix","followers_url":"https://api.github.com/users/cryptix/followers","following_url":"https://api.github.com/users/cryptix/following{/other_user}","gists_url":"https://api.github.com/users/cryptix/gists{/gist_id}","starred_url":"https://api.github.com/users/cryptix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryptix/subscriptions","organizations_url":"https://api.github.com/users/cryptix/orgs","repos_url":"https://api.github.com/users/cryptix/repos","events_url":"https://api.github.com/users/cryptix/events{/privacy}","received_events_url":"https://api.github.com/users/cryptix/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-06T13:32:45Z","updated_at":"2015-05-06T13:53:59Z","closed_at":"2015-05-06T13:53:31Z","pull_request":{"url":"https://api.github.com/repos/codahale/metrics/pulls/11","html_url":"https://github.com/codahale/metrics/pull/11","diff_url":"https://github.com/codahale/metrics/pull/11.diff","patch_url":"https://github.com/codahale/metrics/pull/11.patch"},"body":"Hi,\r\n\r\nthe `rlimit.Cur` is a `int64` so I just hardcoded the conversion. Are you fine with this? Otherwise I can break out the function and add a `_freebsd.go` file etc but this seemed easier.\r\n\r\nlog from current master:\r\n```\r\n[cryptix@svahnry ~/go/src/github.com/codahale/metrics/runtime:master] uname -a\r\nFreeBSD svahnry 10.1-RELEASE-p9 FreeBSD 10.1-RELEASE-p9 #0: Tue Apr  7 01:09:46 UTC 2015     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64\r\n[cryptix@svahnry ~/go/src/github.com/codahale/metrics/runtime:master] go test \r\n# github.com/codahale/metrics/runtime\r\n./fds.go:17: cannot use rlimit.Cur (type int64) as type uint64 in return argument\r\nFAIL\tgithub.com/codahale/metrics/runtime [build failed]\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/codahale/metrics/issues/comments/99470713","html_url":"https://github.com/codahale/metrics/pull/11#issuecomment-99470713","issue_url":"https://api.github.com/repos/codahale/metrics/issues/11","id":99470713,"user":{"login":"codahale","id":207,"avatar_url":"https://avatars.githubusercontent.com/u/207?v=3","gravatar_id":"","url":"https://api.github.com/users/codahale","html_url":"https://github.com/codahale","followers_url":"https://api.github.com/users/codahale/followers","following_url":"https://api.github.com/users/codahale/following{/other_user}","gists_url":"https://api.github.com/users/codahale/gists{/gist_id}","starred_url":"https://api.github.com/users/codahale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codahale/subscriptions","organizations_url":"https://api.github.com/users/codahale/orgs","repos_url":"https://api.github.com/users/codahale/repos","events_url":"https://api.github.com/users/codahale/events{/privacy}","received_events_url":"https://api.github.com/users/codahale/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T13:53:59Z","updated_at":"2015-05-06T13:53:59Z","body":"Awesome, thanks! I’ll add a comment to make sure it doesn’t get removed in the future."}}