{"action":"opened","issue":{"url":"https://api.github.com/repos/JenniferBuehler/jb-ros-packs/issues/6","labels_url":"https://api.github.com/repos/JenniferBuehler/jb-ros-packs/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/JenniferBuehler/jb-ros-packs/issues/6/comments","events_url":"https://api.github.com/repos/JenniferBuehler/jb-ros-packs/issues/6/events","html_url":"https://github.com/JenniferBuehler/jb-ros-packs/issues/6","id":114177850,"number":6,"title":"Casting","user":{"login":"jacquelinekay","id":495933,"avatar_url":"https://avatars.githubusercontent.com/u/495933?v=3","gravatar_id":"","url":"https://api.github.com/users/jacquelinekay","html_url":"https://github.com/jacquelinekay","followers_url":"https://api.github.com/users/jacquelinekay/followers","following_url":"https://api.github.com/users/jacquelinekay/following{/other_user}","gists_url":"https://api.github.com/users/jacquelinekay/gists{/gist_id}","starred_url":"https://api.github.com/users/jacquelinekay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacquelinekay/subscriptions","organizations_url":"https://api.github.com/users/jacquelinekay/orgs","repos_url":"https://api.github.com/users/jacquelinekay/repos","events_url":"https://api.github.com/users/jacquelinekay/events{/privacy}","received_events_url":"https://api.github.com/users/jacquelinekay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-30T01:04:26Z","updated_at":"2015-10-30T01:04:26Z","closed_at":null,"body":"Make sure to check if the pointer is NULL after casting a pointer. Also, avoid using c-style casts. You do a lot of casting in MarkerSelector, and you check in line 169-172, which is good, but in the function `MarkerSelector` you cast pointers a few times and don't check the pointer afterwards."}}